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.001102/0.001102, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00157/0.002672, allocations: 449.7 kB / 10.37 MB, free: 324 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.0007674/0.0007674, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001068/0.001835, allocations: 463.6 kB / 11.72 MB, free: 2.453 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 1.032/1.032, allocations: 177.4 MB / 189.9 MB, free: 4.84 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09441/1.126, allocations: 53.87 MB / 243.7 MB, free: 14.91 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.994e-06/1.994e-06, allocations: 0 / 245.1 MB, free: 13.61 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.608e-05/1.808e-05, allocations: 2.312 kB / 245.1 MB, free: 13.6 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003571/0.003589, allocations: 2.681 MB / 247.7 MB, free: 10.91 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001267/0.004856, allocations: 0.6814 MB / 248.4 MB, free: 10.22 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001564/0.005012, allocations: 4 kB / 248.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001084/0.00512, allocations: 43.58 kB / 248.5 MB, free: 10.17 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002239/0.005344, allocations: 103.1 kB / 248.6 MB, free: 10.07 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.005477, allocations: 67.89 kB / 248.6 MB, free: 10 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.005725, allocations: 326.5 kB / 249 MB, free: 9.684 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.005873, allocations: 67.09 kB / 249 MB, free: 9.617 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000181/0.006053, allocations: 191.6 kB / 249.2 MB, free: 9.43 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.006186, allocations: 99.64 kB / 249.3 MB, free: 9.332 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.59e-05/0.006221, allocations: 24 kB / 249.3 MB, free: 9.309 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.643e-05/0.006248, allocations: 28 kB / 249.4 MB, free: 9.281 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.271e-05/0.006281, allocations: 47.81 kB / 249.4 MB, free: 9.234 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 6.767e-05/0.006348, allocations: 75.88 kB / 249.5 MB, free: 9.16 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.00654, allocations: 183.3 kB / 249.7 MB, free: 8.98 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.612e-05/0.006556, allocations: 0 / 249.7 MB, free: 8.98 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.006558, allocations: 0 / 249.7 MB, free: 8.98 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.795e-05/0.006576, allocations: 0 / 249.7 MB, free: 8.98 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.0006629/0.007238, allocations: 0.5154 MB / 250.2 MB, free: 8.441 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.007273, allocations: 8.625 kB / 250.2 MB, free: 8.434 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.256e-05/0.007336, allocations: 44.89 kB / 250.2 MB, free: 8.391 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002243/0.00756, allocations: 189.3 kB / 250.4 MB, free: 8.18 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.007576, allocations: 16.88 kB / 250.4 MB, free: 8.164 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.392e-05/0.00761, allocations: 20.38 kB / 250.4 MB, free: 8.145 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.007834, allocations: 259.4 kB / 250.7 MB, free: 7.863 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.007845, allocations: 192 / 250.7 MB, free: 7.863 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.627e-05/0.007861, allocations: 16.38 kB / 250.7 MB, free: 7.848 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.007868, allocations: 7.938 kB / 250.7 MB, free: 7.84 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.174e-05/0.007949, allocations: 59.47 kB / 250.8 MB, free: 7.781 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008386/0.008788, allocations: 0.645 MB / 251.4 MB, free: 7.094 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002378/0.009026, allocations: 137.6 kB / 251.6 MB, free: 6.953 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.00914, allocations: 76.75 kB / 251.6 MB, free: 6.875 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.314e-05/0.009163, allocations: 8 kB / 251.6 MB, free: 6.867 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.37e-05/0.009187, allocations: 38.56 kB / 251.7 MB, free: 6.82 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 1.282e-06/0.009188, allocations: 0 / 251.7 MB, free: 6.82 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003157/0.009504, allocations: 162.7 kB / 251.8 MB, free: 6.652 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.842e-05/0.009532, allocations: 55.36 kB / 251.9 MB, free: 6.586 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001278/0.00966, allocations: 195.4 kB / 252.1 MB, free: 6.379 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.832e-05/0.009678, allocations: 33.7 kB / 252.1 MB, free: 6.34 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.554e-05/0.009754, allocations: 168.1 kB / 252.3 MB, free: 6.172 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.824e-05/0.009792, allocations: 67.42 kB / 252.3 MB, free: 6.105 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.089e-05/0.009843, allocations: 45.69 kB / 252.4 MB, free: 6.055 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.9e-05/0.009922, allocations: 338.8 kB / 252.7 MB, free: 5.715 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.801e-05/0.00995, allocations: 23.92 kB / 252.7 MB, free: 5.691 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.706e-05/0.01002, allocations: 73.98 kB / 252.8 MB, free: 5.598 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001006/0.01012, allocations: 127.5 kB / 252.9 MB, free: 5.453 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01012, allocations: 0 / 252.9 MB, free: 5.453 MB / 250.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0001695/0.01029, allocations: 162.1 kB / 253.1 MB, free: 5.285 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.01031, allocations: 4 kB / 253.1 MB, free: 5.281 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.01032, allocations: 4 kB / 253.1 MB, free: 5.277 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001453/0.01046, allocations: 33.02 kB / 253.1 MB, free: 5.242 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.01064, allocations: 63.91 kB / 253.2 MB, free: 5.18 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006349/0.01128, allocations: 1.186 MB / 254.4 MB, free: 3.906 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.905e-05/0.01137, allocations: 27.77 kB / 254.4 MB, free: 3.879 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.035e-05/0.01138, allocations: 4 kB / 254.4 MB, free: 3.875 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 9.375e-05/0.01147, allocations: 133.8 kB / 254.6 MB, free: 3.734 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.844e-05/0.0115, allocations: 15.98 kB / 254.6 MB, free: 3.719 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.141e-05/0.01153, allocations: 29.8 kB / 254.6 MB, free: 3.691 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.01153, allocations: 0 / 254.6 MB, free: 3.691 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.01154, allocations: 0 / 254.6 MB, free: 3.691 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.01154, allocations: 0 / 254.6 MB, free: 3.691 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004093/0.01195, allocations: 356.3 kB / 254.9 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.01195, allocations: 0 / 254.9 MB, free: 3.309 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.01209, allocations: 55.98 kB / 255 MB, free: 3.254 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.303e-05/0.01212, allocations: 15.84 kB / 255 MB, free: 3.238 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.51e-05/0.0122, allocations: 28.83 kB / 255 MB, free: 3.207 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.01221, allocations: 11.94 kB / 255.1 MB, free: 3.195 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005311/0.01275, allocations: 1.187 MB / 256.2 MB, free: 1.926 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.01275, allocations: 0 / 256.2 MB, free: 1.926 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002/0.01295, allocations: 257.5 kB / 256.5 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.671e-05/0.01296, allocations: 4 kB / 256.5 MB, free: 1.648 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.564e-05/0.01304, allocations: 15.98 kB / 256.5 MB, free: 1.633 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.486e-05/0.01307, allocations: 19.92 kB / 256.5 MB, free: 1.613 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.412e-06/0.01308, allocations: 3.984 kB / 256.5 MB, free: 1.609 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.751e-05/0.01313, allocations: 63.11 kB / 256.6 MB, free: 1.547 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01313, allocations: 4 kB / 256.6 MB, free: 1.543 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002093/0.01334, allocations: 71.83 kB / 256.7 MB, free: 1.473 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 0.0001117/0.01345, allocations: 76.42 kB / 256.7 MB, free: 1.391 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002419/0.01369, allocations: 230 kB / 257 MB, free: 1.156 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/0.0137, allocations: 4.375 kB / 257 MB, free: 1.152 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.01382, allocations: 178.4 kB / 257.2 MB, free: 0.9648 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.01404, allocations: 48.38 kB / 257.2 MB, free: 0.918 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.01612, allocations: 0.5215 MB / 257.7 MB, free: 368 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.701e-05/0.01618, allocations: 84.55 kB / 257.8 MB, free: 264 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.362e-05/0.01625, allocations: 30.02 kB / 257.8 MB, free: 228 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.01635, allocations: 91.36 kB / 257.9 MB, free: 136 kB / 250.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01635, allocations: 0 / 257.9 MB, free: 136 kB / 250.7 MB Notification: Performance of Templates: time 0.004643/0.021, allocations: 2.856 MB / 260.8 MB, free: 13.31 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,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5924693029373884]