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.001366/0.001366, allocations: 109.1 kB / 21.22 MB, free: 0.7344 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.001456/0.001456, allocations: 207.5 kB / 24.53 MB, free: 4.07 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.482/1.482, allocations: 230.5 MB / 258.2 MB, free: 8.023 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.001983/0.001983, allocations: 63.89 kB / 378.6 MB, free: 2.977 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2555, allocations: 53.41 MB / 432 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.0038/0.2593, allocations: 2.657 MB / 434.7 MB, free: 4 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001242/0.2605, allocations: 0.6816 MB / 435.4 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001585/0.2607, allocations: 8 kB / 435.4 MB, free: 3.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001631/0.2608, allocations: 43.58 kB / 435.4 MB, free: 3.262 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002634/0.2611, allocations: 91.25 kB / 435.5 MB, free: 3.172 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001518/0.2613, allocations: 63.86 kB / 435.6 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000357/0.2616, allocations: 318.6 kB / 435.9 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.2618, allocations: 73.08 kB / 435.9 MB, free: 2.719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.2619, allocations: 123.5 kB / 436.1 MB, free: 2.598 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001958/0.2621, allocations: 131.5 kB / 436.2 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.238e-05/0.2622, allocations: 24 kB / 436.2 MB, free: 2.445 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.272e-05/0.2622, allocations: 28 kB / 436.2 MB, free: 2.418 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.021e-05/0.2623, allocations: 63.7 kB / 436.3 MB, free: 2.355 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.2624, allocations: 127.4 kB / 436.4 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003445/0.2627, allocations: 303.5 kB / 436.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2627, allocations: 0 / 436.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2627, allocations: 0 / 436.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.2627, allocations: 0 / 436.7 MB, free: 1.941 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.0008733/0.2636, allocations: 497.5 kB / 437.2 MB, free: 1.426 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.2637, allocations: 8.031 kB / 437.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.369e-05/0.2637, allocations: 12.69 kB / 437.2 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.223e-05/0.2638, allocations: 62.72 kB / 437.3 MB, free: 1.336 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.227e-05/0.2638, allocations: 24.8 kB / 437.3 MB, free: 1.312 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.2642, allocations: 206.8 kB / 437.5 MB, free: 1.086 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/0.2642, allocations: 16.88 kB / 437.5 MB, free: 1.07 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.689e-05/0.2643, allocations: 24.38 kB / 437.6 MB, free: 1.047 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003873/0.2647, allocations: 224 kB / 437.8 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.085e-05/0.2647, allocations: 0 / 437.8 MB, free: 0.8242 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.343e-05/0.2647, allocations: 4 kB / 437.8 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.2647, allocations: 8 kB / 437.8 MB, free: 0.8125 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002958/0.265, allocations: 169.9 kB / 437.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.2665, allocations: 0.8775 MB / 438.8 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004473/0.267, allocations: 186.4 kB / 439 MB, free: 15.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000252/0.2672, allocations: 115.5 kB / 439.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2e-05/0.2672, allocations: 4 kB / 439.1 MB, free: 15.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.197e-05/0.2673, allocations: 38.56 kB / 439.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.292e-06/0.2673, allocations: 0 / 439.2 MB, free: 15.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005894/0.2679, allocations: 238.6 kB / 439.4 MB, free: 15.1 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.683e-05/0.2679, allocations: 51.41 kB / 439.4 MB, free: 15.04 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/0.2681, allocations: 228.2 kB / 439.7 MB, free: 14.8 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.799e-05/0.2682, allocations: 33.7 kB / 439.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.2683, allocations: 168.2 kB / 439.9 MB, free: 14.6 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.407e-05/0.2683, allocations: 67.42 kB / 439.9 MB, free: 14.53 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.588e-05/0.2684, allocations: 45.7 kB / 440 MB, free: 14.48 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001502/0.2685, allocations: 334.8 kB / 440.3 MB, free: 14.14 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.2686, allocations: 55.98 kB / 440.4 MB, free: 14.09 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.2688, allocations: 118 kB / 440.5 MB, free: 13.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002357/0.269, allocations: 181.7 kB / 440.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.269, allocations: 0 / 440.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004055/0.2694, allocations: 249.9 kB / 440.9 MB, free: 13.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.2695, allocations: 8 kB / 440.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.2695, allocations: 0 / 440.9 MB, free: 13.49 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001524/0.2696, allocations: 29.03 kB / 440.9 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.2698, allocations: 55.84 kB / 441 MB, free: 13.41 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001095/0.2709, allocations: 1.311 MB / 442.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.2711, allocations: 27.81 kB / 442.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.029e-05/0.2711, allocations: 16 kB / 442.3 MB, free: 11.93 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.0001451/0.2713, allocations: 133.7 kB / 442.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.023e-05/0.2713, allocations: 23.86 kB / 442.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.157e-05/0.2714, allocations: 29.8 kB / 442.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.2714, allocations: 8.062 kB / 442.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2714, allocations: 0 / 442.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2714, allocations: 0 / 442.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008069/0.2722, allocations: 0.5445 MB / 443.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.2722, allocations: 4 kB / 443.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001769/0.2724, allocations: 31.98 kB / 443.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.337e-05/0.2724, allocations: 32.81 kB / 443.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.644e-05/0.2725, allocations: 7.938 kB / 443.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.2735, allocations: 1.303 MB / 444.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.2735, allocations: 7.969 kB / 444.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004722/0.274, allocations: 345.1 kB / 444.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.347e-05/0.274, allocations: 23.83 kB / 444.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.274, allocations: 7.984 kB / 444.8 MB, free: 9.238 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.2742, allocations: 24.06 kB / 444.9 MB, free: 9.215 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.466e-05/0.2743, allocations: 15.91 kB / 444.9 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.52e-05/0.2743, allocations: 8 kB / 444.9 MB, free: 9.191 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001527/0.2744, allocations: 163.5 kB / 445 MB, free: 9.031 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.2744, allocations: 0 / 445 MB, free: 9.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003384/0.2748, allocations: 63.89 kB / 445.1 MB, free: 8.969 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.0007815/0.2756, allocations: 0.8846 MB / 446 MB, free: 8.055 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000441/0.276, allocations: 262.6 kB / 446.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.276, allocations: 0 / 446.2 MB, free: 7.785 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002205/0.2762, allocations: 182.6 kB / 446.4 MB, free: 7.594 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003732/0.2766, allocations: 43.91 kB / 446.5 MB, free: 7.551 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003451/0.2801, allocations: 2.592 MB / 449.1 MB, free: 4.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.2804, allocations: 0.7481 MB / 449.8 MB, free: 4.055 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.39e-05/0.2805, allocations: 25.94 kB / 449.8 MB, free: 4.027 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.2806, allocations: 71.41 kB / 449.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2806, allocations: 0 / 449.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02938/0.31, allocations: 5.259 MB / 455.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.47/11.78, allocations: 3.938 kB / 455.2 MB, free: 14.84 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.262770350964274]