Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001569, allocations: 108.6 kB / 21.18 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001734/0.001734, allocations: 189.2 kB / 24.48 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 225.6 MB / 253.3 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001638/0.001638, allocations: 51.92 kB / 371.7 MB, free: 9.301 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2367, allocations: 52.18 MB / 423.9 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.004381/0.2411, allocations: 2.889 MB / 426.8 MB, free: 11.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001275/0.2423, allocations: 0.74 MB / 427.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001295/0.2425, allocations: 4 kB / 427.5 MB, free: 10.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001479/0.2426, allocations: 43.58 kB / 427.6 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002054/0.2428, allocations: 111.2 kB / 427.7 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.2431, allocations: 107.8 kB / 427.8 MB, free: 10.72 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000456/0.2436, allocations: 390.5 kB / 428.2 MB, free: 10.34 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.2438, allocations: 91.61 kB / 428.3 MB, free: 10.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002378/0.244, allocations: 151.4 kB / 428.4 MB, free: 10.1 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002298/0.2442, allocations: 167.3 kB / 428.6 MB, free: 9.934 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.285e-05/0.2443, allocations: 40 kB / 428.6 MB, free: 9.895 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.127e-05/0.2444, allocations: 40 kB / 428.7 MB, free: 9.855 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.375e-05/0.2444, allocations: 79.69 kB / 428.7 MB, free: 9.777 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001795/0.2446, allocations: 163.2 kB / 428.9 MB, free: 9.617 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004876/0.2451, allocations: 423.6 kB / 429.3 MB, free: 9.207 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2451, allocations: 4 kB / 429.3 MB, free: 9.203 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.407e-06/0.2451, allocations: 4 kB / 429.3 MB, free: 9.199 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.963e-06/0.2451, allocations: 3.938 kB / 429.3 MB, free: 9.195 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.001313/0.2464, allocations: 0.5849 MB / 429.9 MB, free: 8.57 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.532e-05/0.2465, allocations: 12.03 kB / 429.9 MB, free: 8.559 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.977e-05/0.2466, allocations: 36.7 kB / 430 MB, free: 8.523 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004234/0.247, allocations: 227.1 kB / 430.2 MB, free: 8.277 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.269e-05/0.247, allocations: 12.88 kB / 430.2 MB, free: 8.266 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.58e-05/0.2471, allocations: 28.36 kB / 430.2 MB, free: 8.238 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007291/0.2478, allocations: 319 kB / 430.5 MB, free: 7.914 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.2478, allocations: 7.922 kB / 430.5 MB, free: 7.906 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.097e-05/0.2478, allocations: 16 kB / 430.6 MB, free: 7.891 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.506e-06/0.2478, allocations: 4 kB / 430.6 MB, free: 7.887 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008102/0.2486, allocations: 273.8 kB / 430.8 MB, free: 7.621 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002124/0.2508, allocations: 1.126 MB / 431.9 MB, free: 6.41 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008967/0.2517, allocations: 238.5 kB / 432.2 MB, free: 6.168 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003327/0.252, allocations: 100.8 kB / 432.3 MB, free: 6.066 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.252, allocations: 0 / 432.3 MB, free: 6.066 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004825/0.2525, allocations: 176.9 kB / 432.5 MB, free: 5.875 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.462e-06/0.2525, allocations: 4 kB / 432.5 MB, free: 5.871 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001977/0.2545, allocations: 0.5097 MB / 433 MB, free: 5.352 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.909e-05/0.2546, allocations: 96.97 kB / 433.1 MB, free: 5.238 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002997/0.2549, allocations: 257.9 kB / 433.3 MB, free: 4.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 6.318e-05/0.2549, allocations: 33.7 kB / 433.3 MB, free: 4.941 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001464/0.2551, allocations: 196 kB / 433.5 MB, free: 4.746 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.573e-05/0.2551, allocations: 39.69 kB / 433.6 MB, free: 4.707 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.151e-05/0.2552, allocations: 49.66 kB / 433.6 MB, free: 4.652 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.2554, allocations: 338.8 kB / 434 MB, free: 4.312 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/0.2557, allocations: 96.16 kB / 434 MB, free: 4.215 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004104/0.2561, allocations: 195.5 kB / 434.2 MB, free: 3.984 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00074/0.2569, allocations: 299.4 kB / 434.5 MB, free: 3.652 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.2569, allocations: 4 kB / 434.5 MB, free: 3.648 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001243/0.2581, allocations: 443.8 kB / 435 MB, free: 3.199 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.945e-05/0.2582, allocations: 41.64 kB / 435 MB, free: 3.152 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/0.2582, allocations: 4 kB / 435 MB, free: 3.148 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003361/0.2585, allocations: 64.88 kB / 435.1 MB, free: 3.082 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002431/0.2588, allocations: 55.89 kB / 435.1 MB, free: 3.027 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002376/0.2611, allocations: 1.537 MB / 436.7 MB, free: 1.379 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003453/0.2615, allocations: 51.78 kB / 436.7 MB, free: 1.328 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.269e-05/0.2615, allocations: 8 kB / 436.7 MB, free: 1.32 MB / 334.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.0001767/0.2617, allocations: 153.7 kB / 436.9 MB, free: 1.16 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.935e-05/0.2617, allocations: 23.86 kB / 436.9 MB, free: 1.137 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.989e-05/0.2618, allocations: 25.7 kB / 436.9 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.2618, allocations: 0 / 436.9 MB, free: 1.109 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.255e-06/0.2618, allocations: 3.938 kB / 436.9 MB, free: 1.105 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2618, allocations: 4 kB / 436.9 MB, free: 1.102 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003241/0.2621, allocations: 292.4 kB / 437.2 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.2621, allocations: 0 / 437.2 MB, free: 0.7734 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001939/0.2623, allocations: 27.97 kB / 437.2 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002354/0.2625, allocations: 64.81 kB / 437.3 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.678e-05/0.2625, allocations: 4 kB / 437.3 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002168/0.2647, allocations: 1.525 MB / 438.8 MB, free: 15.04 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2647, allocations: 3.938 kB / 438.8 MB, free: 15.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001395/0.2661, allocations: 453.5 kB / 439.3 MB, free: 14.57 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.012e-05/0.2662, allocations: 23.89 kB / 439.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.2662, allocations: 8 kB / 439.3 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002399/0.2664, allocations: 36.02 kB / 439.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.2665, allocations: 15.97 kB / 439.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.2665, allocations: 8 kB / 439.4 MB, free: 14.48 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000222/0.2667, allocations: 185.2 kB / 439.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2667, allocations: 0 / 439.6 MB, free: 14.3 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003384/0.2671, allocations: 67.89 kB / 439.6 MB, free: 14.23 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.0001388/0.2672, allocations: 110.6 kB / 439.7 MB, free: 14.11 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001025/0.2683, allocations: 405.8 kB / 440.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.2683, allocations: 4 kB / 440.1 MB, free: 13.69 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004508/0.2687, allocations: 202.6 kB / 440.3 MB, free: 13.48 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.269, allocations: 49.69 kB / 440.4 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00351/0.2725, allocations: 0.9173 MB / 441.3 MB, free: 12.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004022/0.2729, allocations: 0.748 MB / 442 MB, free: 11.7 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.557e-05/0.273, allocations: 19.44 kB / 442.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of SimCode: time 3.5e-07/0.273, allocations: 4 kB / 442.1 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Templates: time 0.00744/0.2805, allocations: 4.571 MB / 446.6 MB, free: 7.121 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.486632511019707]