Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001461/0.001461, allocations: 113.7 kB / 18.45 MB, free: 4.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001724/0.001725, allocations: 202.8 kB / 19.4 MB, free: 3.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.423/1.423, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 59.89 kB / 359.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2991/0.3006, allocations: 50.55 MB / 410 MB, free: 1.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.00349/0.3041, allocations: 2.601 MB / 412.6 MB, free: 14.94 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001431/0.3055, allocations: 0.7012 MB / 413.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003058/0.3059, allocations: 4 kB / 413.3 MB, free: 14.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002042/0.3061, allocations: 43.58 kB / 413.3 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004002/0.3065, allocations: 87.25 kB / 413.4 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002482/0.3068, allocations: 75.91 kB / 413.5 MB, free: 14.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000449/0.3072, allocations: 318.5 kB / 413.8 MB, free: 13.71 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002312/0.3075, allocations: 96.88 kB / 413.9 MB, free: 13.61 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002325/0.3077, allocations: 115.6 kB / 414 MB, free: 13.49 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002366/0.3079, allocations: 123.4 kB / 414.1 MB, free: 13.37 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.162e-05/0.308, allocations: 24 kB / 414.1 MB, free: 13.35 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.5e-05/0.3081, allocations: 24 kB / 414.2 MB, free: 13.32 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.473e-05/0.3081, allocations: 55.83 kB / 414.2 MB, free: 13.27 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.3083, allocations: 135.3 kB / 414.4 MB, free: 13.14 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003237/0.3086, allocations: 292 kB / 414.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3086, allocations: 0 / 414.6 MB, free: 12.86 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3086, allocations: 4 kB / 414.6 MB, free: 12.85 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.3086, allocations: 0 / 414.6 MB, free: 12.85 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.00103/0.3097, allocations: 0.5615 MB / 415.2 MB, free: 12.24 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.3097, allocations: 8.031 kB / 415.2 MB, free: 12.23 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.285e-05/0.3098, allocations: 28.66 kB / 415.2 MB, free: 12.21 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003475/0.3102, allocations: 259.8 kB / 415.5 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.3102, allocations: 16.94 kB / 415.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.252e-05/0.3102, allocations: 20.38 kB / 415.5 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004627/0.3107, allocations: 233.1 kB / 415.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3107, allocations: 4 kB / 415.8 MB, free: 11.64 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.3107, allocations: 8 kB / 415.8 MB, free: 11.63 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.3108, allocations: 8 kB / 415.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004073/0.3112, allocations: 186.2 kB / 416 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001392/0.3126, allocations: 0.8968 MB / 416.9 MB, free: 10.47 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006008/0.3132, allocations: 206.7 kB / 417.1 MB, free: 10.26 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000326/0.3135, allocations: 128.7 kB / 417.2 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.171e-05/0.3136, allocations: 4 kB / 417.2 MB, free: 10.13 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.3136, allocations: 38.5 kB / 417.2 MB, free: 10.08 MB / 334.1 MB Notification: Performance of pre-optimization done (n=15): time 1.232e-06/0.3136, allocations: 0 / 417.2 MB, free: 10.08 MB / 334.1 MB Notification: Performance of matching and sorting (n=15): time 0.001767/0.3154, allocations: 0.5614 MB / 417.8 MB, free: 9.492 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.02e-05/0.3154, allocations: 51.41 kB / 417.8 MB, free: 9.43 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002102/0.3156, allocations: 235 kB / 418.1 MB, free: 9.188 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.3157, allocations: 25.7 kB / 418.1 MB, free: 9.156 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.943e-05/0.3158, allocations: 159.9 kB / 418.2 MB, free: 8.996 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.197e-05/0.3158, allocations: 67.06 kB / 418.3 MB, free: 8.93 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.85e-05/0.3159, allocations: 45.72 kB / 418.4 MB, free: 8.879 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 9.885e-05/0.316, allocations: 330.8 kB / 418.7 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001707/0.3162, allocations: 64.83 kB / 418.7 MB, free: 8.48 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001851/0.3164, allocations: 113.9 kB / 418.9 MB, free: 8.348 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003312/0.3167, allocations: 184.1 kB / 419 MB, free: 8.148 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.3167, allocations: 0 / 419 MB, free: 8.148 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008387/0.3176, allocations: 344.8 kB / 419.4 MB, free: 7.805 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3176, allocations: 11.12 kB / 419.4 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3176, allocations: 0 / 419.4 MB, free: 7.797 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003357/0.3179, allocations: 80.73 kB / 419.5 MB, free: 7.715 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.3181, allocations: 44 kB / 419.5 MB, free: 7.672 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002714/0.3208, allocations: 2.017 MB / 421.5 MB, free: 5.516 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001652/0.321, allocations: 27.86 kB / 421.5 MB, free: 5.488 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.321, allocations: 4 kB / 421.6 MB, free: 5.484 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001398/0.3212, allocations: 152 kB / 421.7 MB, free: 5.332 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001005/0.3213, allocations: 94.05 kB / 421.8 MB, free: 5.219 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001794/0.3215, allocations: 141.9 kB / 421.9 MB, free: 5.059 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.665e-06/0.3215, allocations: 4 kB / 421.9 MB, free: 5.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003242/0.3218, allocations: 224.7 kB / 422.2 MB, free: 4.828 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.037e-06/0.3218, allocations: 4 kB / 422.2 MB, free: 4.824 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3218, allocations: 7.984 kB / 422.2 MB, free: 4.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.835e-05/0.3219, allocations: 24.84 kB / 422.2 MB, free: 4.789 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001528/0.3221, allocations: 48.09 kB / 422.2 MB, free: 4.742 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009762/0.3231, allocations: 1.414 MB / 423.7 MB, free: 3.184 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001307/0.3232, allocations: 23.89 kB / 423.7 MB, free: 3.16 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.778e-06/0.3232, allocations: 4 kB / 423.7 MB, free: 3.156 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001235/0.3234, allocations: 196.1 kB / 423.9 MB, free: 2.957 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.702e-05/0.3234, allocations: 19.81 kB / 423.9 MB, free: 2.938 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.163e-05/0.3235, allocations: 21.47 kB / 423.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.3235, allocations: 4 kB / 423.9 MB, free: 2.91 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.3235, allocations: 11.98 kB / 423.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.3235, allocations: 0 / 423.9 MB, free: 2.898 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001099/0.3246, allocations: 0.6272 MB / 424.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.3246, allocations: 0 / 424.6 MB, free: 2.215 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001202/0.3247, allocations: 27.98 kB / 424.6 MB, free: 2.188 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002642/0.325, allocations: 68.81 kB / 424.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.723e-05/0.325, allocations: 11.98 kB / 424.7 MB, free: 2.105 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002299/0.3273, allocations: 1.912 MB / 426.6 MB, free: 56 kB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.3274, allocations: 3.938 kB / 426.6 MB, free: 52 kB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008674/0.3282, allocations: 440.4 kB / 427 MB, free: 15.6 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.793e-05/0.3283, allocations: 96.89 kB / 427.1 MB, free: 15.49 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.6e-05/0.3283, allocations: 15.98 kB / 427.1 MB, free: 15.47 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001821/0.3285, allocations: 19.98 kB / 427.1 MB, free: 15.45 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.551e-05/0.3286, allocations: 11.98 kB / 427.1 MB, free: 15.44 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.079e-05/0.3286, allocations: 4.062 kB / 427.2 MB, free: 15.44 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001404/0.3287, allocations: 164.6 kB / 427.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3287, allocations: 0 / 427.3 MB, free: 15.28 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005415/0.3293, allocations: 119.7 kB / 427.4 MB, free: 15.16 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001707/0.3295, allocations: 102.6 kB / 427.5 MB, free: 15.05 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001141/0.3306, allocations: 0.5404 MB / 428.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.3306, allocations: 0 / 428.1 MB, free: 14.48 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003047/0.3309, allocations: 198.6 kB / 428.3 MB, free: 14.28 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003631/0.3313, allocations: 40.95 kB / 428.3 MB, free: 14.24 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009877/0.3323, allocations: 0.5325 MB / 428.8 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002812/0.3326, allocations: 0.748 MB / 429.6 MB, free: 12.9 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.3327, allocations: 19.44 kB / 429.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3327, allocations: 0 / 429.6 MB, free: 12.88 MB / 350.1 MB Notification: Performance of Templates: time 0.005381/0.3381, allocations: 3.548 MB / 433.2 MB, free: 9.34 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches