Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001944/0.001944, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002514/0.002514, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.399/1.399, allocations: 230.6 MB / 258.3 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 55.92 kB / 379.1 MB, free: 2.594 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2374/0.239, allocations: 53.36 MB / 432.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator): time 0.003971/0.243, allocations: 2.644 MB / 435.1 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00135/0.2443, allocations: 0.705 MB / 435.8 MB, free: 3.559 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001523/0.2445, allocations: 4 kB / 435.8 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001512/0.2446, allocations: 47.58 kB / 435.8 MB, free: 3.508 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002381/0.2448, allocations: 87.19 kB / 435.9 MB, free: 3.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001896/0.245, allocations: 87.84 kB / 436 MB, free: 3.336 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003615/0.2454, allocations: 310.7 kB / 436.3 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000184/0.2456, allocations: 69.78 kB / 436.4 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001609/0.2457, allocations: 115.6 kB / 436.5 MB, free: 2.848 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001817/0.2459, allocations: 127.4 kB / 436.6 MB, free: 2.723 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.137e-05/0.246, allocations: 28 kB / 436.6 MB, free: 2.695 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.523e-05/0.246, allocations: 28 kB / 436.7 MB, free: 2.668 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.034e-05/0.2461, allocations: 59.77 kB / 436.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000137/0.2462, allocations: 131.3 kB / 436.8 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000364/0.2466, allocations: 289.2 kB / 437.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2466, allocations: 0 / 437.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.2466, allocations: 0 / 437.1 MB, free: 2.203 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.483e-06/0.2466, allocations: 0 / 437.1 MB, free: 2.203 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009789/0.2476, allocations: 497.6 kB / 437.6 MB, free: 1.688 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.687e-05/0.2476, allocations: 12.03 kB / 437.6 MB, free: 1.676 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.031e-05/0.2477, allocations: 28.75 kB / 437.7 MB, free: 1.648 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003858/0.2481, allocations: 206.8 kB / 437.9 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.367e-05/0.2481, allocations: 16.88 kB / 437.9 MB, free: 1.406 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.06e-05/0.2481, allocations: 20.38 kB / 437.9 MB, free: 1.387 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004538/0.2486, allocations: 232.3 kB / 438.1 MB, free: 1.156 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.2486, allocations: 3.938 kB / 438.1 MB, free: 1.152 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.819e-05/0.2486, allocations: 12 kB / 438.1 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.2486, allocations: 4 kB / 438.1 MB, free: 1.137 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004434/0.2491, allocations: 189.9 kB / 438.3 MB, free: 0.9492 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.2506, allocations: 0.8541 MB / 439.2 MB, free: 28 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006516/0.2512, allocations: 206.7 kB / 439.4 MB, free: 15.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003152/0.2515, allocations: 119 kB / 439.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.715e-05/0.2516, allocations: 11.94 kB / 439.5 MB, free: 15.69 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.2516, allocations: 30.56 kB / 439.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.2516, allocations: 0 / 439.5 MB, free: 15.65 MB / 350.1 MB Notification: Performance of matching and sorting (n=15): time 0.001743/0.2533, allocations: 482 kB / 440 MB, free: 15.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.2534, allocations: 63.34 kB / 440.1 MB, free: 15.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000271/0.2537, allocations: 235 kB / 440.3 MB, free: 14.85 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.592e-05/0.2537, allocations: 25.7 kB / 440.3 MB, free: 14.82 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.2538, allocations: 164.3 kB / 440.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.219e-05/0.2539, allocations: 63.47 kB / 440.5 MB, free: 14.59 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.516e-05/0.254, allocations: 41.7 kB / 440.6 MB, free: 14.55 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001537/0.2541, allocations: 330.8 kB / 440.9 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/0.2543, allocations: 68.83 kB / 441 MB, free: 14.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002107/0.2545, allocations: 117.9 kB / 441.1 MB, free: 14.01 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003727/0.2549, allocations: 193.8 kB / 441.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2549, allocations: 0 / 441.3 MB, free: 13.8 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008874/0.2558, allocations: 344.5 kB / 441.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.2558, allocations: 8 kB / 441.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2558, allocations: 0 / 441.6 MB, free: 13.45 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003736/0.2562, allocations: 84.83 kB / 441.7 MB, free: 13.36 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.2563, allocations: 35.98 kB / 441.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002935/0.2593, allocations: 1.906 MB / 443.6 MB, free: 11.3 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.2594, allocations: 23.91 kB / 443.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.2595, allocations: 16 kB / 443.7 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001664/0.2596, allocations: 144.1 kB / 443.8 MB, free: 11.11 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001172/0.2597, allocations: 89.94 kB / 443.9 MB, free: 11 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002001/0.2599, allocations: 153.8 kB / 444.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.382e-06/0.2599, allocations: 0 / 444.1 MB, free: 10.83 MB / 350.1 MB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0003665/0.2603, allocations: 228.6 kB / 444.3 MB, free: 10.6 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.116e-05/0.2603, allocations: 11.94 kB / 444.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.655e-06/0.2603, allocations: 0 / 444.3 MB, free: 10.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.762e-05/0.2604, allocations: 24.84 kB / 444.3 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001595/0.2606, allocations: 48.05 kB / 444.4 MB, free: 10.52 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.2616, allocations: 1.311 MB / 445.7 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001192/0.2617, allocations: 15.92 kB / 445.7 MB, free: 9.074 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.2618, allocations: 8 kB / 445.7 MB, free: 9.066 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 20 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001459/0.2619, allocations: 196.3 kB / 445.9 MB, free: 8.867 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.109e-05/0.262, allocations: 23.86 kB / 445.9 MB, free: 8.844 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.017e-05/0.262, allocations: 25.45 kB / 445.9 MB, free: 8.82 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.262, allocations: 3.938 kB / 446 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.262, allocations: 0 / 446 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.262, allocations: 0 / 446 MB, free: 8.816 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001148/0.2632, allocations: 0.592 MB / 446.5 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.2632, allocations: 0 / 446.5 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.2633, allocations: 27.98 kB / 446.6 MB, free: 8.145 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002645/0.2635, allocations: 76.73 kB / 446.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.2636, allocations: 4 kB / 446.6 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002429/0.266, allocations: 1.818 MB / 448.5 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.266, allocations: 0 / 448.5 MB, free: 6.137 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009199/0.2669, allocations: 443.6 kB / 448.9 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.672e-05/0.267, allocations: 15.92 kB / 448.9 MB, free: 5.672 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.589e-05/0.267, allocations: 7.938 kB / 448.9 MB, free: 5.664 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.2672, allocations: 24.05 kB / 448.9 MB, free: 5.641 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.2672, allocations: 12.03 kB / 449 MB, free: 5.629 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.135e-05/0.2672, allocations: 3.984 kB / 449 MB, free: 5.625 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000159/0.2674, allocations: 163.2 kB / 449.1 MB, free: 5.465 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2674, allocations: 0 / 449.1 MB, free: 5.465 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0005657/0.268, allocations: 119.8 kB / 449.2 MB, free: 5.348 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * 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): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001366/0.2681, allocations: 99.25 kB / 449.3 MB, free: 5.238 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001139/0.2692, allocations: 0.5283 MB / 449.9 MB, free: 4.684 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2692, allocations: 0.6875 kB / 449.9 MB, free: 4.684 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000308/0.2695, allocations: 202.5 kB / 450.1 MB, free: 4.473 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.2699, allocations: 36.59 kB / 450.1 MB, free: 4.438 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.271, allocations: 0.5299 MB / 450.6 MB, free: 3.871 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.2714, allocations: 0.7401 MB / 451.4 MB, free: 3.105 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.624e-05/0.2714, allocations: 23.38 kB / 451.4 MB, free: 3.082 MB / 350.1 MB Notification: Performance of SimCode: time 4.91e-07/0.2714, allocations: 4 kB / 451.4 MB, free: 3.078 MB / 350.1 MB Notification: Performance of Templates: time 0.005951/0.2774, allocations: 3.527 MB / 454.9 MB, free: 15.56 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Multivibrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 7.105411676922813]