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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001339/0.001339, allocations: 109.1 kB / 21.22 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001584/0.001584, allocations: 210.9 kB / 24.51 MB, free: 3.941 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.467/1.467, allocations: 230.5 MB / 258.2 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002808/0.002808, allocations: 67.89 kB / 378.5 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2617, allocations: 53.4 MB / 431.9 MB, free: 6.598 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003749/0.2655, allocations: 2.471 MB / 434.4 MB, free: 4.125 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.2667, allocations: 0.6349 MB / 435 MB, free: 3.484 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001389/0.2668, allocations: 4 kB / 435 MB, free: 3.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001432/0.267, allocations: 43.56 kB / 435.1 MB, free: 3.438 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002786/0.2673, allocations: 95.25 kB / 435.2 MB, free: 3.344 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.2674, allocations: 67.84 kB / 435.3 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004543/0.2679, allocations: 314.6 kB / 435.6 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002183/0.2681, allocations: 73.12 kB / 435.6 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001271/0.2682, allocations: 119.5 kB / 435.7 MB, free: 2.773 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.2684, allocations: 127.5 kB / 435.9 MB, free: 2.648 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.608e-05/0.2685, allocations: 28 kB / 435.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.599e-05/0.2685, allocations: 27.94 kB / 435.9 MB, free: 2.594 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.191e-05/0.2686, allocations: 63.7 kB / 436 MB, free: 2.531 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001182/0.2687, allocations: 107.5 kB / 436.1 MB, free: 2.426 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003263/0.269, allocations: 305.3 kB / 436.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.269, allocations: 0 / 436.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.269, allocations: 0 / 436.4 MB, free: 2.129 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.951e-06/0.269, allocations: 0 / 436.4 MB, free: 2.129 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: 58 * Number of variables: 58 Notification: Performance of Generate backend data structure: time 0.0008247/0.2699, allocations: 497.5 kB / 436.9 MB, free: 1.613 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.2699, allocations: 12.03 kB / 436.9 MB, free: 1.602 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.909e-05/0.2699, allocations: 8.688 kB / 436.9 MB, free: 1.594 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.357e-05/0.27, allocations: 58.73 kB / 437 MB, free: 1.527 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.126e-05/0.27, allocations: 36.73 kB / 437 MB, free: 1.492 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003444/0.2704, allocations: 198.8 kB / 437.2 MB, free: 1.273 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.2704, allocations: 20.88 kB / 437.2 MB, free: 1.254 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.305e-05/0.2705, allocations: 20.33 kB / 437.2 MB, free: 1.234 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000437/0.2709, allocations: 326.8 kB / 437.5 MB, free: 0.8867 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2709, allocations: 4 kB / 437.5 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.788e-05/0.2709, allocations: 12 kB / 437.6 MB, free: 0.8711 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.356e-06/0.2709, allocations: 4 kB / 437.6 MB, free: 0.8672 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002865/0.2712, allocations: 165.9 kB / 437.7 MB, free: 0.6992 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001485/0.2727, allocations: 0.8308 MB / 438.6 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000454/0.2732, allocations: 185 kB / 438.7 MB, free: 15.62 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.2734, allocations: 100.8 kB / 438.8 MB, free: 15.52 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.2734, allocations: 8 kB / 438.8 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.2735, allocations: 38.55 kB / 438.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.353e-06/0.2735, allocations: 0 / 438.9 MB, free: 15.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006008/0.2741, allocations: 237.5 kB / 439.1 MB, free: 15.22 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.2741, allocations: 55.41 kB / 439.2 MB, free: 15.16 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002336/0.2743, allocations: 228.1 kB / 439.4 MB, free: 14.92 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.476e-05/0.2744, allocations: 29.7 kB / 439.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.2745, allocations: 172.2 kB / 439.6 MB, free: 14.71 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.723e-05/0.2745, allocations: 75.41 kB / 439.7 MB, free: 14.64 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.371e-05/0.2746, allocations: 45.7 kB / 439.7 MB, free: 14.59 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000138/0.2747, allocations: 330.8 kB / 440 MB, free: 14.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001008/0.2748, allocations: 59.97 kB / 440.1 MB, free: 14.2 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.275, allocations: 114 kB / 440.2 MB, free: 14.07 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002375/0.2752, allocations: 180.8 kB / 440.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.2752, allocations: 0 / 440.4 MB, free: 13.87 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003999/0.2756, allocations: 250 kB / 440.6 MB, free: 13.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2756, allocations: 4 kB / 440.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.214e-06/0.2756, allocations: 7.938 kB / 440.6 MB, free: 13.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001515/0.2758, allocations: 24.84 kB / 440.7 MB, free: 13.58 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002257/0.276, allocations: 64.03 kB / 440.7 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001093/0.2771, allocations: 1.299 MB / 442 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001514/0.2773, allocations: 27.81 kB / 442 MB, free: 12.07 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.884e-05/0.2773, allocations: 12 kB / 442.1 MB, free: 12.05 MB / 350.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: 2 (opAmp.satNeg,opAmp.satPos) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 27 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001429/0.2774, allocations: 141.3 kB / 442.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.968e-05/0.2775, allocations: 23.92 kB / 442.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.383e-05/0.2775, allocations: 33.8 kB / 442.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.2775, allocations: 0 / 442.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2775, allocations: 0 / 442.2 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2775, allocations: 4 kB / 442.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007894/0.2783, allocations: 0.5148 MB / 442.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.2783, allocations: 0 / 442.8 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001951/0.2785, allocations: 39.97 kB / 442.8 MB, free: 11.23 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.307e-05/0.2786, allocations: 28.81 kB / 442.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.2786, allocations: 11.94 kB / 442.8 MB, free: 11.19 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001019/0.2796, allocations: 1.299 MB / 444.1 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.2796, allocations: 3.938 kB / 444.1 MB, free: 9.777 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004424/0.2801, allocations: 345.5 kB / 444.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.358e-05/0.2801, allocations: 23.83 kB / 444.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.2802, allocations: 4 kB / 444.5 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001969/0.2804, allocations: 28.05 kB / 444.5 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.897e-05/0.2804, allocations: 19.91 kB / 444.6 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.207e-05/0.2804, allocations: 7.938 kB / 444.6 MB, free: 9.336 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001496/0.2806, allocations: 159.5 kB / 444.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2806, allocations: 0 / 444.7 MB, free: 9.18 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003283/0.2809, allocations: 67.89 kB / 444.8 MB, free: 9.113 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (opAmp.v_int,c.v) * Number of discrete variables: 2 (opAmp.satPos,opAmp.satNeg) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0007882/0.2817, allocations: 0.8819 MB / 445.7 MB, free: 8.199 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0004346/0.2821, allocations: 262.5 kB / 445.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.2821, allocations: 0 / 445.9 MB, free: 7.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.2824, allocations: 185.2 kB / 446.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003782/0.2827, allocations: 32.42 kB / 446.1 MB, free: 7.707 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003368/0.2861, allocations: 2.605 MB / 448.7 MB, free: 4.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001299/0.2862, allocations: 146.4 kB / 448.9 MB, free: 4.812 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.803e-05/0.2863, allocations: 21.95 kB / 448.9 MB, free: 4.793 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001191/0.2864, allocations: 75.41 kB / 449 MB, free: 4.719 MB / 350.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2864, allocations: 0 / 449 MB, free: 4.719 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02948/0.3159, allocations: 5.431 MB / 454.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.54/11.85, allocations: 14.55 kB / 454.4 MB, free: 15.43 MB / 366.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.353080136002973]