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.001001/0.001001, allocations: 91.61 kB / 21.19 MB, free: 3.383 MB / 18.57 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.001128/0.001128, allocations: 160.5 kB / 24.56 MB, free: 24 kB / 18.57 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.017/1.017, allocations: 177 MB / 204.8 MB, free: 5.207 MB / 186.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 3.567e-06/3.567e-06, allocations: 4 kB / 273 MB, free: 1.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.179e-05/2.536e-05, allocations: 6.312 kB / 273 MB, free: 1.246 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.002738/0.002763, allocations: 2.65 MB / 275.6 MB, free: 14.58 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.003831, allocations: 0.6543 MB / 276.3 MB, free: 13.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001551/0.003987, allocations: 7.938 kB / 276.3 MB, free: 13.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001401/0.004127, allocations: 51.56 kB / 276.3 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.00438, allocations: 91.2 kB / 276.4 MB, free: 13.77 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001368/0.004517, allocations: 71.81 kB / 276.5 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002761/0.004793, allocations: 326.4 kB / 276.8 MB, free: 13.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001677/0.004961, allocations: 73.06 kB / 276.9 MB, free: 13.3 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.005134, allocations: 171.6 kB / 277 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001297/0.005264, allocations: 95.7 kB / 277.1 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.812e-05/0.005302, allocations: 28 kB / 277.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.058e-05/0.005332, allocations: 24 kB / 277.2 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.99e-05/0.005372, allocations: 59.75 kB / 277.3 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 7.588e-05/0.005448, allocations: 95.75 kB / 277.3 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.005661, allocations: 195.2 kB / 277.5 MB, free: 12.65 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.005664, allocations: 3.984 kB / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.133e-06/0.005665, allocations: 0 / 277.5 MB, free: 12.64 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.00567, allocations: 0 / 277.5 MB, free: 12.64 MB / 266.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.0006148/0.006284, allocations: 0.5935 MB / 278.1 MB, free: 12.01 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.198e-05/0.006326, allocations: 15.97 kB / 278.1 MB, free: 12 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.992e-05/0.006406, allocations: 48.75 kB / 278.2 MB, free: 11.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002488/0.006655, allocations: 208.2 kB / 278.4 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.00667, allocations: 12.88 kB / 278.4 MB, free: 11.71 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.722e-05/0.006708, allocations: 24.38 kB / 278.4 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002598/0.006967, allocations: 279.4 kB / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.006977, allocations: 192 / 278.7 MB, free: 11.38 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.862e-05/0.006995, allocations: 12.38 kB / 278.7 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.06e-05/0.007006, allocations: 7.938 kB / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.007141, allocations: 94.94 kB / 278.8 MB, free: 11.27 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009381/0.008079, allocations: 0.808 MB / 279.6 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002948/0.008374, allocations: 179 kB / 279.8 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.008529, allocations: 91.62 kB / 279.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.008548, allocations: 4 kB / 279.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.008574, allocations: 37.39 kB / 279.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.974e-06/0.008576, allocations: 0 / 279.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003896/0.008966, allocations: 217 kB / 280.1 MB, free: 9.852 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.496e-05/0.008991, allocations: 51.41 kB / 280.2 MB, free: 9.789 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.009137, allocations: 266.6 kB / 280.5 MB, free: 9.508 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.009154, allocations: 29.7 kB / 280.5 MB, free: 9.473 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.459e-05/0.009239, allocations: 222.9 kB / 280.7 MB, free: 9.25 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.009274, allocations: 67.42 kB / 280.8 MB, free: 9.184 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-05/0.009327, allocations: 55.31 kB / 280.8 MB, free: 9.121 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001131/0.00944, allocations: 0.5001 MB / 281.3 MB, free: 8.609 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.112e-05/0.009491, allocations: 31.98 kB / 281.4 MB, free: 8.578 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.604e-05/0.009577, allocations: 113.7 kB / 281.5 MB, free: 8.438 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.009716, allocations: 153.7 kB / 281.6 MB, free: 8.258 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.009719, allocations: 0 / 281.6 MB, free: 8.258 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002504/0.009969, allocations: 218.3 kB / 281.8 MB, free: 8.035 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.009983, allocations: 4 kB / 281.8 MB, free: 8.031 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.009992, allocations: 8 kB / 281.8 MB, free: 8.023 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001765/0.01017, allocations: 35.84 kB / 281.9 MB, free: 7.984 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.01029, allocations: 55.91 kB / 281.9 MB, free: 7.93 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008431/0.01114, allocations: 1.76 MB / 283.7 MB, free: 6.043 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.164e-05/0.01122, allocations: 23.95 kB / 283.7 MB, free: 6.02 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.859e-06/0.01123, allocations: 12.03 kB / 283.7 MB, free: 6.008 MB / 266.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.534e-05/0.01132, allocations: 176.5 kB / 283.9 MB, free: 5.824 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.303e-05/0.01136, allocations: 27.86 kB / 283.9 MB, free: 5.797 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.01138, allocations: 25.8 kB / 283.9 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.01139, allocations: 7.938 kB / 284 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01139, allocations: 0 / 284 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01139, allocations: 0 / 284 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004756/0.01187, allocations: 0.5046 MB / 284.5 MB, free: 5.203 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.01187, allocations: 4.031 kB / 284.5 MB, free: 5.199 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.01197, allocations: 31.98 kB / 284.5 MB, free: 5.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.903e-05/0.01206, allocations: 35.66 kB / 284.5 MB, free: 5.129 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.01208, allocations: 4 kB / 284.5 MB, free: 5.125 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007318/0.01281, allocations: 1.764 MB / 286.3 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.01281, allocations: 7.922 kB / 286.3 MB, free: 3.23 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.01307, allocations: 354.6 kB / 286.7 MB, free: 2.859 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.441e-05/0.0131, allocations: 31.77 kB / 286.7 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.498e-05/0.01311, allocations: 0 / 286.7 MB, free: 2.828 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.501e-05/0.0132, allocations: 19.98 kB / 286.7 MB, free: 2.809 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.35e-05/0.01324, allocations: 15.97 kB / 286.7 MB, free: 2.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.925e-06/0.01325, allocations: 7.938 kB / 286.7 MB, free: 2.785 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.519e-05/0.01333, allocations: 189.4 kB / 286.9 MB, free: 2.602 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01333, allocations: 0 / 286.9 MB, free: 2.602 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000226/0.01356, allocations: 75.84 kB / 287 MB, free: 2.527 MB / 266.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.396e-05/0.01365, allocations: 99.19 kB / 287.1 MB, free: 2.422 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000338/0.01399, allocations: 300.9 kB / 287.4 MB, free: 2.109 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.01399, allocations: 4.375 kB / 287.4 MB, free: 2.105 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001359/0.01413, allocations: 241.4 kB / 287.6 MB, free: 1.848 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.01438, allocations: 39.91 kB / 287.7 MB, free: 1.809 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009729/0.01535, allocations: 0.5456 MB / 288.2 MB, free: 1.23 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.258e-05/0.01541, allocations: 80.56 kB / 288.3 MB, free: 1.133 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.27e-05/0.01547, allocations: 25.94 kB / 288.3 MB, free: 1.109 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.255e-05/0.01551, allocations: 24.5 kB / 288.3 MB, free: 1.086 MB / 266.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01551, allocations: 0 / 288.3 MB, free: 1.086 MB / 266.7 MB Notification: Performance of Templates: time 0.1096/0.1252, allocations: 2.583 MB / 290.9 MB, free: 25.55 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 -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.832973673939705]