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.0009597/0.0009597, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.001057/0.001057, allocations: 167.7 kB / 24.99 MB, free: 8.219 MB / 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.056/1.056, allocations: 177 MB / 205.2 MB, free: 5.531 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 1.653e-06/1.653e-06, allocations: 0 / 273 MB, free: 1.668 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.069e-05, allocations: 5.406 kB / 273 MB, free: 1.664 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.01015/0.01018, allocations: 2.65 MB / 275.7 MB, free: 15 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001413/0.01159, allocations: 0.6505 MB / 276.3 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001697/0.01176, allocations: 7.938 kB / 276.4 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.01192, allocations: 43.58 kB / 276.4 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.01221, allocations: 95.17 kB / 276.5 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001611/0.01237, allocations: 75.78 kB / 276.6 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003473/0.01584, allocations: 326.4 kB / 276.9 MB, free: 13.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000219/0.01606, allocations: 61.12 kB / 276.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002886/0.01635, allocations: 179.6 kB / 277.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.0166, allocations: 91.69 kB / 277.2 MB, free: 13.47 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.443e-05/0.01666, allocations: 28 kB / 277.2 MB, free: 13.45 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.43e-05/0.01669, allocations: 24 kB / 277.3 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.01674, allocations: 59.77 kB / 277.3 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.576e-05/0.01682, allocations: 99.75 kB / 277.4 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002678/0.01709, allocations: 199.2 kB / 277.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.0171, allocations: 4 kB / 277.6 MB, free: 13.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.944e-06/0.0171, allocations: 3.938 kB / 277.6 MB, free: 13.06 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.851e-06/0.01711, allocations: 0 / 277.6 MB, free: 13.06 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.0007521/0.01786, allocations: 0.5857 MB / 278.2 MB, free: 12.44 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.0179, allocations: 11.98 kB / 278.2 MB, free: 12.43 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.938e-05/0.01799, allocations: 52.75 kB / 278.3 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002892/0.01828, allocations: 204.2 kB / 278.5 MB, free: 12.15 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.788e-05/0.0183, allocations: 20.88 kB / 278.5 MB, free: 12.13 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.922e-05/0.01834, allocations: 24.38 kB / 278.5 MB, free: 12.11 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003403/0.01868, allocations: 275.4 kB / 278.8 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.01869, allocations: 192 / 278.8 MB, free: 11.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.01871, allocations: 12.38 kB / 278.8 MB, free: 11.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.01872, allocations: 11.94 kB / 278.8 MB, free: 11.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000152/0.01887, allocations: 98.92 kB / 278.9 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001056/0.01993, allocations: 0.8041 MB / 279.7 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003127/0.02024, allocations: 170.3 kB / 279.9 MB, free: 10.65 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.0204, allocations: 99.56 kB / 280 MB, free: 10.55 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.02042, allocations: 4 kB / 280 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.467e-05/0.02044, allocations: 41.38 kB / 280 MB, free: 10.49 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.763e-06/0.02045, allocations: 4 kB / 280 MB, free: 10.49 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0004343/0.02088, allocations: 201.4 kB / 280.2 MB, free: 10.28 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.804e-05/0.02091, allocations: 55.41 kB / 280.3 MB, free: 10.21 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001595/0.02107, allocations: 266.7 kB / 280.5 MB, free: 9.934 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.678e-05/0.02108, allocations: 29.7 kB / 280.6 MB, free: 9.898 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.826e-05/0.02117, allocations: 214.9 kB / 280.8 MB, free: 9.684 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.89e-05/0.02121, allocations: 79.41 kB / 280.8 MB, free: 9.605 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.02133, allocations: 59.31 kB / 280.9 MB, free: 9.539 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.02145, allocations: 0.4962 MB / 281.4 MB, free: 9.031 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.488e-05/0.02151, allocations: 31.97 kB / 281.4 MB, free: 9 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.618e-05/0.02159, allocations: 113.7 kB / 281.5 MB, free: 8.859 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.02174, allocations: 153.7 kB / 281.7 MB, free: 8.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.02174, allocations: 0 / 281.7 MB, free: 8.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002651/0.02201, allocations: 210.3 kB / 281.9 MB, free: 8.465 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.02203, allocations: 11.98 kB / 281.9 MB, free: 8.453 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.02203, allocations: 0 / 281.9 MB, free: 8.453 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002154/0.02225, allocations: 39.86 kB / 281.9 MB, free: 8.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001362/0.02238, allocations: 51.91 kB / 282 MB, free: 8.359 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001049/0.02343, allocations: 1.772 MB / 283.8 MB, free: 6.461 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.075e-05/0.02352, allocations: 23.83 kB / 283.8 MB, free: 6.438 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.02354, allocations: 8 kB / 283.8 MB, free: 6.43 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.92e-05/0.02363, allocations: 168.5 kB / 284 MB, free: 6.254 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.605e-05/0.02367, allocations: 35.89 kB / 284 MB, free: 6.219 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.144e-05/0.0237, allocations: 25.8 kB / 284 MB, free: 6.191 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.02371, allocations: 3.938 kB / 284 MB, free: 6.188 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.02371, allocations: 0 / 284 MB, free: 6.188 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.02371, allocations: 0 / 284 MB, free: 6.188 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004962/0.02421, allocations: 0.5085 MB / 284.5 MB, free: 5.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.02421, allocations: 0 / 284.5 MB, free: 5.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001117/0.02432, allocations: 31.98 kB / 284.6 MB, free: 5.594 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001031/0.02443, allocations: 39.69 kB / 284.6 MB, free: 5.551 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.165e-05/0.02444, allocations: 0 / 284.6 MB, free: 5.551 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001107/0.02555, allocations: 1.768 MB / 286.4 MB, free: 3.66 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.02555, allocations: 3.938 kB / 286.4 MB, free: 3.656 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002824/0.02583, allocations: 359.5 kB / 286.7 MB, free: 3.277 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.332e-05/0.02585, allocations: 23.78 kB / 286.7 MB, free: 3.254 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.68e-05/0.02587, allocations: 4 kB / 286.8 MB, free: 3.25 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.558e-05/0.02596, allocations: 15.98 kB / 286.8 MB, free: 3.234 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.02601, allocations: 15.97 kB / 286.8 MB, free: 3.219 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.003e-05/0.02602, allocations: 8 kB / 286.8 MB, free: 3.211 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.534e-05/0.02611, allocations: 189.4 kB / 287 MB, free: 3.027 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02611, allocations: 3.938 kB / 287 MB, free: 3.023 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002582/0.02637, allocations: 67.84 kB / 287 MB, free: 2.957 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 0.0001283/0.0265, allocations: 107.2 kB / 287.2 MB, free: 2.844 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003545/0.02685, allocations: 301.1 kB / 287.4 MB, free: 2.531 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.02686, allocations: 0 / 287.4 MB, free: 2.531 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001457/0.027, allocations: 236.7 kB / 287.7 MB, free: 2.281 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.02734, allocations: 48.34 kB / 287.7 MB, free: 2.234 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001227/0.02857, allocations: 0.5533 MB / 288.3 MB, free: 1.648 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.838e-05/0.02864, allocations: 84.55 kB / 288.4 MB, free: 1.547 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.756e-05/0.02871, allocations: 21.94 kB / 288.4 MB, free: 1.527 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.641e-05/0.02876, allocations: 24.5 kB / 288.4 MB, free: 1.504 MB / 266.7 MB Notification: Performance of SimCode: time 1.082e-06/0.02876, allocations: 0 / 288.4 MB, free: 1.504 MB / 266.7 MB Notification: Performance of Templates: time 0.004714/0.03347, allocations: 2.48 MB / 290.9 MB, free: 15.06 MB / 282.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.9164432489778847]