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.001316/0.001316, allocations: 106.8 kB / 21.2 MB, free: 0.6406 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.001465/0.001465, allocations: 217.1 kB / 24.49 MB, free: 3.93 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.446/1.446, allocations: 230.6 MB / 258.3 MB, free: 7.73 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.001515/0.001515, allocations: 51.92 kB / 379 MB, free: 2.438 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2229/0.2244, allocations: 53.37 MB / 432.4 MB, free: 6.723 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004197/0.2286, allocations: 2.7 MB / 435.1 MB, free: 4.012 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0013/0.2299, allocations: 0.7129 MB / 435.8 MB, free: 3.293 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.23, allocations: 7.938 kB / 435.8 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001542/0.2302, allocations: 47.56 kB / 435.8 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002028/0.2304, allocations: 103.2 kB / 435.9 MB, free: 3.137 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.2306, allocations: 115.8 kB / 436.1 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004374/0.2311, allocations: 394.5 kB / 436.4 MB, free: 2.637 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002047/0.2313, allocations: 94.61 kB / 436.5 MB, free: 2.543 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002811/0.2316, allocations: 159.4 kB / 436.7 MB, free: 2.387 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.2318, allocations: 167.3 kB / 436.8 MB, free: 2.223 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.734e-05/0.2318, allocations: 40 kB / 436.9 MB, free: 2.184 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.586e-05/0.2319, allocations: 40 kB / 436.9 MB, free: 2.145 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.569e-05/0.232, allocations: 75.7 kB / 437 MB, free: 2.07 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.2321, allocations: 139.4 kB / 437.1 MB, free: 1.934 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004673/0.2326, allocations: 434 kB / 437.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2326, allocations: 0 / 437.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2326, allocations: 0 / 437.6 MB, free: 1.512 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.45e-06/0.2326, allocations: 0 / 437.6 MB, free: 1.512 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.001343/0.234, allocations: 0.5927 MB / 438.2 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.234, allocations: 8.031 kB / 438.2 MB, free: 0.875 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.257e-05/0.2341, allocations: 36.73 kB / 438.2 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.2345, allocations: 234.9 kB / 438.4 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.456e-05/0.2345, allocations: 24.86 kB / 438.5 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.375e-05/0.2345, allocations: 24.38 kB / 438.5 MB, free: 0.5391 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007665/0.2353, allocations: 340.7 kB / 438.8 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.2353, allocations: 0 / 438.8 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.2353, allocations: 12 kB / 438.8 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.2354, allocations: 4 kB / 438.8 MB, free: 176 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008663/0.2362, allocations: 277.8 kB / 439.1 MB, free: 15.9 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002035/0.2383, allocations: 1.01 MB / 440.1 MB, free: 14.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000911/0.2392, allocations: 234.6 kB / 440.3 MB, free: 14.58 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003458/0.2395, allocations: 100.8 kB / 440.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.2395, allocations: 7.875 kB / 440.4 MB, free: 14.47 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004822/0.24, allocations: 194.7 kB / 440.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.482e-06/0.24, allocations: 0 / 440.6 MB, free: 14.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002108/0.2421, allocations: 0.5213 MB / 441.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.256e-05/0.2422, allocations: 81.11 kB / 441.2 MB, free: 13.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.2425, allocations: 264.9 kB / 441.5 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.995e-05/0.2425, allocations: 29.7 kB / 441.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.2426, allocations: 196 kB / 441.7 MB, free: 13.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.366e-05/0.2427, allocations: 43.61 kB / 441.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.462e-05/0.2428, allocations: 53.66 kB / 441.8 MB, free: 13.03 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.2429, allocations: 330.8 kB / 442.1 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004077/0.2433, allocations: 137.8 kB / 442.3 MB, free: 12.55 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004731/0.2438, allocations: 239 kB / 442.5 MB, free: 12.27 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007715/0.2446, allocations: 307.7 kB / 442.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.2446, allocations: 0 / 442.8 MB, free: 11.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.00133/0.2459, allocations: 472 kB / 443.3 MB, free: 11.45 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.414e-05/0.246, allocations: 29.7 kB / 443.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.246, allocations: 4 kB / 443.3 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003184/0.2463, allocations: 68.75 kB / 443.4 MB, free: 11.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002625/0.2466, allocations: 63.95 kB / 443.4 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002357/0.2489, allocations: 1.51 MB / 444.9 MB, free: 9.66 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003315/0.2492, allocations: 51.91 kB / 445 MB, free: 9.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.316e-05/0.2493, allocations: 8 kB / 445 MB, free: 9.602 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.000167/0.2494, allocations: 152 kB / 445.1 MB, free: 9.445 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.2495, allocations: 23.86 kB / 445.2 MB, free: 9.422 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.359e-05/0.2495, allocations: 21.7 kB / 445.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.2495, allocations: 0 / 445.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.2495, allocations: 0 / 445.2 MB, free: 9.398 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.191e-05/0.2496, allocations: 35.78 kB / 445.2 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.2496, allocations: 4 kB / 445.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002539/0.2499, allocations: 31.95 kB / 445.3 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.756e-05/0.2499, allocations: 23.86 kB / 445.3 MB, free: 9.305 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00141/0.2514, allocations: 421.5 kB / 445.7 MB, free: 8.883 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001197/0.2526, allocations: 0.5062 MB / 446.2 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003439/0.2529, allocations: 95.89 kB / 446.3 MB, free: 8.266 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001915/0.2531, allocations: 180.5 kB / 446.5 MB, free: 8.09 MB / 350.1 MB Notification: Performance of Backend: time 2.91e-07/0.2531, allocations: 0 / 446.5 MB, free: 8.09 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009953/0.2541, allocations: 431.3 kB / 446.9 MB, free: 7.637 MB / 350.1 MB Notification: Performance of SimCode: time 0.001142/0.2552, allocations: 0.9704 MB / 447.9 MB, free: 6.617 MB / 350.1 MB Notification: Performance of Templates: time 0.008698/0.2639, allocations: 4.374 MB / 452.2 MB, free: 2.309 MB / 350.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: 4.244688662998669]