Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.001453/0.001453, 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.001679/0.001679, 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.396/1.396, allocations: 230.6 MB / 258.3 MB, free: 7.984 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.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Integrator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|integrator.c.v|integrator.opAmp.out.v|integrator.opAmp.out.i",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 48.06 kB / 379.1 MB, free: 2.617 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2588, allocations: 53.36 MB / 432.4 MB, free: 6.945 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004319/0.2632, allocations: 2.91 MB / 435.3 MB, free: 4.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001352/0.2645, allocations: 0.7596 MB / 436.1 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001492/0.2647, allocations: 4 kB / 436.1 MB, free: 3.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001585/0.2648, allocations: 51.52 kB / 436.1 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001997/0.265, allocations: 107.2 kB / 436.2 MB, free: 3.098 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002958/0.2653, allocations: 111.8 kB / 436.4 MB, free: 2.988 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000423/0.2657, allocations: 386.5 kB / 436.7 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001978/0.2659, allocations: 91.31 kB / 436.8 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003349/0.2663, allocations: 171.3 kB / 437 MB, free: 2.352 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002454/0.2665, allocations: 163.3 kB / 437.2 MB, free: 2.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.52e-05/0.2666, allocations: 40 kB / 437.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.56e-05/0.2666, allocations: 36 kB / 437.2 MB, free: 2.117 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.594e-05/0.2667, allocations: 79.69 kB / 437.3 MB, free: 2.039 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.2669, allocations: 171.2 kB / 437.5 MB, free: 1.871 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004868/0.2674, allocations: 429 kB / 437.9 MB, free: 1.453 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.2674, allocations: 0 / 437.9 MB, free: 1.453 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.2674, allocations: 0 / 437.9 MB, free: 1.453 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.2674, allocations: 0 / 437.9 MB, free: 1.453 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001229/0.2686, allocations: 0.5887 MB / 438.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.2686, allocations: 12.03 kB / 438.5 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.969e-05/0.2687, allocations: 32.75 kB / 438.5 MB, free: 0.7852 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000387/0.2691, allocations: 242.9 kB / 438.8 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.817e-05/0.2691, allocations: 20.81 kB / 438.8 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.022e-05/0.2692, allocations: 20.38 kB / 438.8 MB, free: 496 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006779/0.2698, allocations: 315 kB / 439.1 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.2698, allocations: 4 kB / 439.1 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.934e-05/0.2699, allocations: 12 kB / 439.1 MB, free: 152 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.084e-05/0.2699, allocations: 7.984 kB / 439.1 MB, free: 144 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007848/0.2707, allocations: 273.8 kB / 439.4 MB, free: 15.87 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001965/0.2726, allocations: 1.13 MB / 440.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000847/0.2735, allocations: 238.5 kB / 440.8 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003119/0.2738, allocations: 96.78 kB / 440.9 MB, free: 14.32 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.2738, allocations: 8 kB / 440.9 MB, free: 14.31 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004375/0.2743, allocations: 172.9 kB / 441 MB, free: 14.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.2743, allocations: 0 / 441 MB, free: 14.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001951/0.2762, allocations: 0.5135 MB / 441.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.431e-05/0.2763, allocations: 92.97 kB / 441.6 MB, free: 13.49 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002898/0.2766, allocations: 257.9 kB / 441.9 MB, free: 13.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.803e-05/0.2766, allocations: 29.7 kB / 441.9 MB, free: 13.2 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001471/0.2767, allocations: 200 kB / 442.1 MB, free: 13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.2768, allocations: 47.64 kB / 442.2 MB, free: 12.95 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.584e-05/0.2769, allocations: 49.7 kB / 442.2 MB, free: 12.89 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.277, allocations: 330.8 kB / 442.5 MB, free: 12.56 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003463/0.2774, allocations: 104.2 kB / 442.6 MB, free: 12.46 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003955/0.2778, allocations: 183.5 kB / 442.8 MB, free: 12.24 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000755/0.2785, allocations: 306.5 kB / 443.1 MB, free: 11.9 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2785, allocations: 4 kB / 443.1 MB, free: 11.89 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001151/0.2797, allocations: 443.8 kB / 443.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.405e-05/0.2797, allocations: 45.58 kB / 443.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.2797, allocations: 8.047 kB / 443.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003452/0.2801, allocations: 60.83 kB / 443.7 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002419/0.2803, allocations: 55.89 kB / 443.7 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002296/0.2826, allocations: 1.533 MB / 445.2 MB, free: 9.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.2829, allocations: 51.75 kB / 445.3 MB, free: 9.57 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.072e-05/0.2829, allocations: 8 kB / 445.3 MB, free: 9.562 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 5 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 1 * 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,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001736/0.2831, allocations: 154 kB / 445.5 MB, free: 9.402 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.875e-05/0.2832, allocations: 27.84 kB / 445.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.838e-05/0.2832, allocations: 21.72 kB / 445.5 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.2832, allocations: 0 / 445.5 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.164e-06/0.2832, allocations: 0 / 445.5 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.2832, allocations: 3.984 kB / 445.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003069/0.2835, allocations: 288.5 kB / 445.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.2835, allocations: 0 / 445.8 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001911/0.2837, allocations: 35.91 kB / 445.8 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000231/0.2839, allocations: 68.75 kB / 445.9 MB, free: 8.918 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.284, allocations: 4 kB / 445.9 MB, free: 8.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002063/0.286, allocations: 1.529 MB / 447.4 MB, free: 7.27 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.606e-06/0.286, allocations: 3.984 kB / 447.4 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.2873, allocations: 449.6 kB / 447.9 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.699e-05/0.2874, allocations: 27.94 kB / 447.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.436e-05/0.2874, allocations: 4 kB / 447.9 MB, free: 6.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002149/0.2876, allocations: 23.97 kB / 447.9 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.91e-05/0.2877, allocations: 19.97 kB / 447.9 MB, free: 6.73 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.431e-05/0.2877, allocations: 8 kB / 447.9 MB, free: 6.723 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002084/0.2879, allocations: 193.1 kB / 448.1 MB, free: 6.535 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.2879, allocations: 0 / 448.1 MB, free: 6.535 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.000326/0.2882, allocations: 71.84 kB / 448.2 MB, free: 6.465 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (integrator.c.v) * Number of discrete variables: 3 ($whenCondition1,vIn.signalSource.T_start,vIn.signalSource.count) * Number of discrete states: 1 (vIn.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001357/0.2884, allocations: 107.2 kB / 448.3 MB, free: 6.348 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009668/0.2893, allocations: 404.9 kB / 448.7 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.2893, allocations: 0 / 448.7 MB, free: 5.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004387/0.2898, allocations: 215 kB / 448.9 MB, free: 5.707 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.2901, allocations: 44.42 kB / 449 MB, free: 5.664 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003335/0.2934, allocations: 0.9141 MB / 449.9 MB, free: 4.719 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003744/0.2938, allocations: 0.7518 MB / 450.6 MB, free: 3.941 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.532e-05/0.2939, allocations: 19.44 kB / 450.6 MB, free: 3.922 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.2939, allocations: 0 / 450.6 MB, free: 3.922 MB / 350.1 MB Notification: Performance of Templates: time 0.007263/0.3011, allocations: 4.573 MB / 455.2 MB, free: 15.37 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.067468598019332]