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.0008975/0.0008975, allocations: 76.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00135/0.002248, allocations: 457.8 kB / 10.45 MB, free: 244 kB / 10.45 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.000834/0.000834, allocations: 162 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001146/0.00198, allocations: 475.6 kB / 11.82 MB, free: 2.348 MB / 13.93 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 0.9654/0.9654, allocations: 177.5 MB / 190 MB, free: 4.77 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1338/1.099, allocations: 53.87 MB / 243.9 MB, free: 14.83 MB / 250.7 MB " [Timeout remaining time 179] 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=1000,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=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.774e-06/1.774e-06, allocations: 0 / 245.2 MB, free: 13.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.372e-05, allocations: 2.312 kB / 245.3 MB, free: 13.5 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.00389/0.003913, allocations: 2.681 MB / 247.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008135/0.004727, allocations: 0.6815 MB / 248.6 MB, free: 10.11 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.091e-05/0.004818, allocations: 11.94 kB / 248.6 MB, free: 10.1 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 7.783e-05/0.004895, allocations: 43.52 kB / 248.7 MB, free: 10.06 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.005026, allocations: 95.19 kB / 248.8 MB, free: 9.965 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.057e-05/0.005117, allocations: 67.84 kB / 248.8 MB, free: 9.898 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000227/0.005344, allocations: 334.4 kB / 249.2 MB, free: 9.57 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.005462, allocations: 63.66 kB / 249.2 MB, free: 9.508 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001512/0.005613, allocations: 199.6 kB / 249.4 MB, free: 9.312 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000115/0.005728, allocations: 99.69 kB / 249.5 MB, free: 9.215 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.195e-05/0.00576, allocations: 24 kB / 249.5 MB, free: 9.191 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.789e-05/0.005788, allocations: 24 kB / 249.6 MB, free: 9.168 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.19e-05/0.00582, allocations: 39.88 kB / 249.6 MB, free: 9.129 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 5.663e-05/0.005876, allocations: 83.81 kB / 249.7 MB, free: 9.047 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001723/0.006049, allocations: 179.3 kB / 249.9 MB, free: 8.871 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.006059, allocations: 0 / 249.9 MB, free: 8.871 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.00606, allocations: 3.938 kB / 249.9 MB, free: 8.867 MB / 250.7 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.006069, allocations: 4 kB / 249.9 MB, free: 8.863 MB / 250.7 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.0004919/0.006561, allocations: 0.5114 MB / 250.4 MB, free: 8.328 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.597e-05/0.006587, allocations: 8.625 kB / 250.4 MB, free: 8.32 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.501e-05/0.006632, allocations: 40.91 kB / 250.4 MB, free: 8.281 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.006793, allocations: 181.4 kB / 250.6 MB, free: 8.078 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.268e-05/0.006806, allocations: 24.88 kB / 250.6 MB, free: 8.055 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.968e-05/0.006835, allocations: 28.31 kB / 250.6 MB, free: 8.027 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001859/0.007021, allocations: 255.4 kB / 250.9 MB, free: 7.75 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.007028, allocations: 192 / 250.9 MB, free: 7.75 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.007041, allocations: 8.375 kB / 250.9 MB, free: 7.742 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.007048, allocations: 11.94 kB / 250.9 MB, free: 7.73 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.455e-05/0.007123, allocations: 59.47 kB / 251 MB, free: 7.668 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006849/0.007807, allocations: 0.6411 MB / 251.6 MB, free: 6.984 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001975/0.008005, allocations: 134.5 kB / 251.7 MB, free: 6.844 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.008106, allocations: 88.78 kB / 251.8 MB, free: 6.754 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.008124, allocations: 4 kB / 251.8 MB, free: 6.75 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.008143, allocations: 34.56 kB / 251.9 MB, free: 6.707 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.032e-06/0.008144, allocations: 0 / 251.9 MB, free: 6.707 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002469/0.008391, allocations: 158.7 kB / 252 MB, free: 6.543 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.182e-05/0.008412, allocations: 59.36 kB / 252.1 MB, free: 6.473 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.619e-05/0.008509, allocations: 195.4 kB / 252.3 MB, free: 6.266 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.26e-05/0.008521, allocations: 29.7 kB / 252.3 MB, free: 6.23 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.521e-05/0.008576, allocations: 168.1 kB / 252.5 MB, free: 6.062 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.893e-05/0.008605, allocations: 67.42 kB / 252.5 MB, free: 5.996 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.008648, allocations: 49.67 kB / 252.6 MB, free: 5.941 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 6.836e-05/0.008717, allocations: 334.7 kB / 252.9 MB, free: 5.605 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.36e-05/0.00874, allocations: 20 kB / 252.9 MB, free: 5.586 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.255e-05/0.008793, allocations: 85.89 kB / 253 MB, free: 5.48 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.636e-05/0.008889, allocations: 127.5 kB / 253.1 MB, free: 5.336 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.008891, allocations: 0 / 253.1 MB, free: 5.336 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002265/0.009117, allocations: 163.3 kB / 253.3 MB, free: 5.168 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.009128, allocations: 4.188 kB / 253.3 MB, free: 5.164 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.009133, allocations: 8 kB / 253.3 MB, free: 5.156 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00012/0.009253, allocations: 32.81 kB / 253.3 MB, free: 5.121 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001496/0.009403, allocations: 63.91 kB / 253.4 MB, free: 5.059 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005129/0.009916, allocations: 1.194 MB / 254.6 MB, free: 3.773 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.45e-05/0.00998, allocations: 27.78 kB / 254.6 MB, free: 3.746 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.009989, allocations: 8 kB / 254.6 MB, free: 3.738 MB / 250.7 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 7.2e-05/0.01006, allocations: 121.8 kB / 254.8 MB, free: 3.609 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.01009, allocations: 19.97 kB / 254.8 MB, free: 3.59 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.301e-05/0.01011, allocations: 25.81 kB / 254.8 MB, free: 3.566 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.01011, allocations: 0 / 254.8 MB, free: 3.566 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.01011, allocations: 3.938 kB / 254.8 MB, free: 3.562 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.01012, allocations: 4.125 kB / 254.8 MB, free: 3.559 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003232/0.01044, allocations: 348.5 kB / 255.1 MB, free: 3.184 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.01044, allocations: 0 / 255.1 MB, free: 3.184 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.01056, allocations: 59.88 kB / 255.2 MB, free: 3.125 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.72e-05/0.01058, allocations: 15.86 kB / 255.2 MB, free: 3.109 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.245e-05/0.01065, allocations: 36.86 kB / 255.3 MB, free: 3.07 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.01066, allocations: 8 kB / 255.3 MB, free: 3.062 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004436/0.0111, allocations: 1.175 MB / 256.4 MB, free: 1.805 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.0111, allocations: 0 / 256.4 MB, free: 1.805 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001656/0.01127, allocations: 260.1 kB / 256.7 MB, free: 1.535 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.01128, allocations: 11.94 kB / 256.7 MB, free: 1.523 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001071/0.01139, allocations: 16.05 kB / 256.7 MB, free: 1.508 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.617e-05/0.01143, allocations: 19.97 kB / 256.7 MB, free: 1.488 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.147e-06/0.01143, allocations: 4 kB / 256.7 MB, free: 1.484 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.399e-05/0.0115, allocations: 63.03 kB / 256.8 MB, free: 1.422 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.0115, allocations: 0 / 256.8 MB, free: 1.422 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0003538/0.01185, allocations: 67.89 kB / 256.9 MB, free: 1.355 MB / 250.7 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 9.375e-05/0.01195, allocations: 88.47 kB / 257 MB, free: 1.262 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002621/0.01221, allocations: 234.8 kB / 257.2 MB, free: 1.02 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.126e-05/0.01222, allocations: 3.984 kB / 257.2 MB, free: 1.016 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.01238, allocations: 171.5 kB / 257.4 MB, free: 0.832 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002774/0.01266, allocations: 350.1 kB / 257.7 MB, free: 440 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001949/0.01461, allocations: 0.5175 MB / 258.2 MB, free: 15.88 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.265e-05/0.01465, allocations: 84.55 kB / 258.3 MB, free: 15.77 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.037e-05/0.01471, allocations: 17.95 kB / 258.3 MB, free: 15.75 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001051/0.01482, allocations: 99.34 kB / 258.4 MB, free: 15.65 MB / 266.7 MB Notification: Performance of SimCode: time 7.32e-07/0.01482, allocations: 0 / 258.4 MB, free: 15.65 MB / 266.7 MB Notification: Performance of Templates: time 0.004353/0.01917, allocations: 3.002 MB / 261.4 MB, free: 12.69 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile [Timeout 660] (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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] "" Variables in the reference:time,c.v,opAmp.out.v,opAmp.out.i Variables in the result:C,R,R1,R2,Vns,Vps,c.C,c.v,f,opAmp.Tau,opAmp.V0,opAmp.Vns,opAmp.Vps,opAmp.i_out,opAmp.initOpAmp,opAmp.out.i,opAmp.out.v,opAmp.useFirstOrder,opAmp.useSupply,opAmp.v_out,r.R,r.T,r.T_ref,r.alpha,r.useHeatPort,r1.R,r1.T,r1.T_ref,r1.alpha,r1.useHeatPort,r2.R,r2.T,r2.T_ref,r2.alpha,r2.useHeatPort,time filterSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator_res.mat", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.diff.mat", vars={"c.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] filterSimulationResults("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Multivibrator/Multivibrator.csv", "/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.diff.ref.mat", vars={"c.v"}, removeDescription=false) [Timeout 660] "" [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 2.618393766693771]