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.001348/0.001348, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002215/0.002215, allocations: 212.8 kB / 23.73 MB, free: 4.164 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 / 257.4 MB, free: 7.789 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_OpAmps_Multivibrator",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002742/0.002742, allocations: 59.89 kB / 377.8 MB, free: 2.781 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2641, allocations: 53.4 MB / 431.2 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003904/0.268, allocations: 2.479 MB / 433.6 MB, free: 3.941 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001218/0.2692, allocations: 0.6349 MB / 434.3 MB, free: 3.301 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001313/0.2694, allocations: 7.938 kB / 434.3 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001597/0.2695, allocations: 51.56 kB / 434.3 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002482/0.2698, allocations: 91.25 kB / 434.4 MB, free: 3.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001416/0.2699, allocations: 63.86 kB / 434.5 MB, free: 3.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003572/0.2703, allocations: 310.7 kB / 434.8 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001889/0.2705, allocations: 72.92 kB / 434.9 MB, free: 2.711 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001355/0.2706, allocations: 123.5 kB / 435 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001738/0.2708, allocations: 115.4 kB / 435.1 MB, free: 2.477 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.302e-05/0.2708, allocations: 24 kB / 435.1 MB, free: 2.453 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.021e-05/0.2709, allocations: 24 kB / 435.1 MB, free: 2.43 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.635e-05/0.2709, allocations: 55.84 kB / 435.2 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001266/0.271, allocations: 123.4 kB / 435.3 MB, free: 2.254 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003444/0.2714, allocations: 296.6 kB / 435.6 MB, free: 1.965 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.2714, allocations: 0 / 435.6 MB, free: 1.965 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.2714, allocations: 0 / 435.6 MB, free: 1.965 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.2714, allocations: 0 / 435.6 MB, free: 1.965 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.0008699/0.2723, allocations: 493.5 kB / 436.1 MB, free: 1.453 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.218e-05/0.2723, allocations: 15.98 kB / 436.1 MB, free: 1.438 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.575e-05/0.2724, allocations: 58.73 kB / 436.2 MB, free: 1.371 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.246e-05/0.2724, allocations: 40.67 kB / 436.2 MB, free: 1.332 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003876/0.2728, allocations: 198.8 kB / 436.4 MB, free: 1.113 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.2729, allocations: 16.88 kB / 436.4 MB, free: 1.098 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.2729, allocations: 24.33 kB / 436.4 MB, free: 1.074 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004566/0.2734, allocations: 331 kB / 436.8 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.2734, allocations: 0 / 436.8 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.47e-05/0.2734, allocations: 8 kB / 436.8 MB, free: 0.7148 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.2734, allocations: 8 kB / 436.8 MB, free: 0.707 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003325/0.2737, allocations: 161.9 kB / 436.9 MB, free: 0.5469 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001578/0.2753, allocations: 0.8229 MB / 437.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004616/0.2758, allocations: 174.7 kB / 437.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002576/0.276, allocations: 116.7 kB / 438 MB, free: 15.36 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.38e-05/0.2761, allocations: 7.984 kB / 438 MB, free: 15.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.783e-05/0.2761, allocations: 34.5 kB / 438.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.303e-06/0.2761, allocations: 0 / 438.1 MB, free: 15.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006102/0.2767, allocations: 237.4 kB / 438.3 MB, free: 15.07 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.116e-05/0.2768, allocations: 55.34 kB / 438.4 MB, free: 15 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002428/0.277, allocations: 227.1 kB / 438.6 MB, free: 14.77 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.277, allocations: 33.7 kB / 438.6 MB, free: 14.73 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001241/0.2771, allocations: 168.2 kB / 438.8 MB, free: 14.56 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.834e-05/0.2772, allocations: 71.42 kB / 438.9 MB, free: 14.49 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.653e-05/0.2773, allocations: 49.7 kB / 438.9 MB, free: 14.44 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001524/0.2774, allocations: 330.8 kB / 439.2 MB, free: 14.11 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.2775, allocations: 55.97 kB / 439.3 MB, free: 14.05 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.2777, allocations: 114 kB / 439.4 MB, free: 13.92 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002525/0.2779, allocations: 188.7 kB / 439.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2779, allocations: 0 / 439.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004019/0.2783, allocations: 242.1 kB / 439.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.2784, allocations: 4 kB / 439.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.2784, allocations: 4 kB / 439.8 MB, free: 13.46 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001588/0.2785, allocations: 29.03 kB / 439.9 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002094/0.2787, allocations: 55.91 kB / 439.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001182/0.2799, allocations: 1.316 MB / 441.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.2801, allocations: 19.92 kB / 441.2 MB, free: 11.92 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.2801, allocations: 12 kB / 441.3 MB, free: 11.91 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.0001587/0.2802, allocations: 142.2 kB / 441.4 MB, free: 11.76 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.762e-05/0.2803, allocations: 23.92 kB / 441.4 MB, free: 11.74 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.492e-05/0.2803, allocations: 29.8 kB / 441.4 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.2803, allocations: 4 kB / 441.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.2803, allocations: 0 / 441.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.2803, allocations: 0 / 441.4 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008219/0.2812, allocations: 0.5226 MB / 442 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.2812, allocations: 0 / 442 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.2814, allocations: 39.97 kB / 442 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-05/0.2814, allocations: 24.88 kB / 442 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.2815, allocations: 7.938 kB / 442 MB, free: 11.05 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001213/0.2827, allocations: 1.303 MB / 443.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.2827, allocations: 0 / 443.3 MB, free: 9.633 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004785/0.2831, allocations: 349.6 kB / 443.7 MB, free: 9.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.164e-05/0.2832, allocations: 23.8 kB / 443.7 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.2832, allocations: 4.125 kB / 443.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001842/0.2834, allocations: 23.92 kB / 443.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.624e-05/0.2835, allocations: 19.97 kB / 443.8 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.606e-05/0.2835, allocations: 8 kB / 443.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001585/0.2836, allocations: 155.2 kB / 443.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2836, allocations: 7.938 kB / 443.9 MB, free: 9.031 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003589/0.284, allocations: 71.88 kB / 444 MB, free: 8.961 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.0008616/0.2848, allocations: 0.8869 MB / 444.9 MB, free: 8.047 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0005007/0.2853, allocations: 258.6 kB / 445.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.2854, allocations: 0 / 445.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.2856, allocations: 190.5 kB / 445.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004111/0.286, allocations: 44.41 kB / 445.4 MB, free: 7.539 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003561/0.2896, allocations: 2.584 MB / 447.9 MB, free: 4.832 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001479/0.2897, allocations: 138.4 kB / 448.1 MB, free: 4.68 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.966e-05/0.2898, allocations: 25.94 kB / 448.1 MB, free: 4.656 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.2899, allocations: 71.42 kB / 448.2 MB, free: 4.586 MB / 350.1 MB Notification: Performance of SimCode: time 6.82e-07/0.2899, allocations: 0 / 448.2 MB, free: 4.586 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04605/0.336, allocations: 5.733 MB / 453.9 MB, free: 14.99 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.84, allocations: 11.36 kB / 453.9 MB, free: 14.98 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.258441980928183]