Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.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.001898/0.001898, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 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.00222/0.00222, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.44/1.44, allocations: 230.4 MB / 258.1 MB, free: 8.145 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-beta.om/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.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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001933/0.001933, allocations: 67.89 kB / 378.8 MB, free: 2.859 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2285/0.2304, allocations: 53.31 MB / 432.1 MB, free: 7.367 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004235/0.2347, allocations: 2.911 MB / 435 MB, free: 4.445 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001376/0.236, allocations: 0.7635 MB / 435.8 MB, free: 3.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001452/0.2362, allocations: 4 kB / 435.8 MB, free: 3.672 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001646/0.2364, allocations: 43.52 kB / 435.8 MB, free: 3.629 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.2366, allocations: 103.2 kB / 435.9 MB, free: 3.527 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.2368, allocations: 111.8 kB / 436 MB, free: 3.418 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004513/0.2373, allocations: 394.5 kB / 436.4 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.2375, allocations: 87.27 kB / 436.5 MB, free: 2.941 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002848/0.2378, allocations: 159.4 kB / 436.6 MB, free: 2.785 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/0.238, allocations: 163.3 kB / 436.8 MB, free: 2.625 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.589e-05/0.2381, allocations: 40 kB / 436.8 MB, free: 2.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.004e-05/0.2381, allocations: 36 kB / 436.9 MB, free: 2.551 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.427e-05/0.2382, allocations: 83.67 kB / 437 MB, free: 2.469 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000161/0.2384, allocations: 167.2 kB / 437.1 MB, free: 2.305 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004627/0.2388, allocations: 427.9 kB / 437.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2388, allocations: 0 / 437.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.2388, allocations: 0 / 437.5 MB, free: 1.887 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.322e-06/0.2388, allocations: 0 / 437.5 MB, free: 1.887 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.001347/0.2402, allocations: 0.6641 MB / 438.2 MB, free: 1.168 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.2402, allocations: 8.031 kB / 438.2 MB, free: 1.16 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.059e-05/0.2403, allocations: 32.75 kB / 438.3 MB, free: 1.129 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.2407, allocations: 304.6 kB / 438.5 MB, free: 0.793 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.766e-05/0.2407, allocations: 20.94 kB / 438.6 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.233e-05/0.2408, allocations: 24.38 kB / 438.6 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007344/0.2415, allocations: 316 kB / 438.9 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.2415, allocations: 0 / 438.9 MB, free: 440 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.072e-05/0.2416, allocations: 12 kB / 438.9 MB, free: 428 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.236e-06/0.2416, allocations: 4 kB / 438.9 MB, free: 424 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008366/0.2424, allocations: 278 kB / 439.2 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002125/0.2445, allocations: 1.173 MB / 440.4 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009125/0.2455, allocations: 234.5 kB / 440.6 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003468/0.2458, allocations: 96.78 kB / 440.7 MB, free: 14.55 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.058e-05/0.2458, allocations: 4 kB / 440.7 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004772/0.2463, allocations: 168.9 kB / 440.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.453e-06/0.2463, allocations: 0 / 440.9 MB, free: 14.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002184/0.2485, allocations: 0.5966 MB / 441.4 MB, free: 13.73 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.2485, allocations: 89.09 kB / 441.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002878/0.2488, allocations: 254.6 kB / 441.8 MB, free: 13.37 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.158e-05/0.2489, allocations: 33.7 kB / 441.8 MB, free: 13.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001457/0.249, allocations: 199.9 kB / 442 MB, free: 13.13 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.249, allocations: 39.64 kB / 442.1 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.815e-05/0.2491, allocations: 49.7 kB / 442.1 MB, free: 13.04 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001505/0.2493, allocations: 334.8 kB / 442.4 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003784/0.2497, allocations: 108.1 kB / 442.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004296/0.2501, allocations: 191.5 kB / 442.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007617/0.2509, allocations: 306.5 kB / 443 MB, free: 12.02 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.2509, allocations: 0 / 443 MB, free: 12.02 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001294/0.2522, allocations: 443.8 kB / 443.5 MB, free: 11.57 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.966e-05/0.2522, allocations: 41.62 kB / 443.5 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.2522, allocations: 4 kB / 443.5 MB, free: 11.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003294/0.2525, allocations: 64.88 kB / 443.6 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002532/0.2528, allocations: 59.89 kB / 443.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002359/0.2551, allocations: 1.635 MB / 445.3 MB, free: 9.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003157/0.2555, allocations: 51.91 kB / 445.3 MB, free: 9.574 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.54e-05/0.2555, allocations: 11.98 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.000171/0.2557, allocations: 164.2 kB / 445.5 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.941e-05/0.2557, allocations: 23.86 kB / 445.5 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.919e-05/0.2557, allocations: 21.72 kB / 445.5 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.2558, allocations: 3.984 kB / 445.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.2558, allocations: 0 / 445.5 MB, free: 9.344 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.049e-05/0.2558, allocations: 101 kB / 445.6 MB, free: 9.227 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.862e-05/0.2559, allocations: 7.938 kB / 445.6 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/0.2561, allocations: 27.95 kB / 445.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.179e-05/0.2562, allocations: 15.98 kB / 445.7 MB, free: 9.176 MB / 350.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001387/0.2576, allocations: 433.4 kB / 446.1 MB, free: 8.742 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001163/0.2587, allocations: 0.499 MB / 446.6 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003718/0.2591, allocations: 107.9 kB / 446.7 MB, free: 8.121 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001967/0.2593, allocations: 190 kB / 446.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of Backend: time 3.31e-07/0.2593, allocations: 0 / 446.9 MB, free: 7.938 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001012/0.2603, allocations: 392.4 kB / 447.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of SimCode: time 0.001214/0.2615, allocations: 0.9921 MB / 448.3 MB, free: 6.48 MB / 350.1 MB Notification: Performance of Templates: time 0.008426/0.2699, allocations: 3.957 MB / 452.2 MB, free: 2.562 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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.227855099365115]