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.001398/0.001398, allocations: 76.05 kB / 21.24 MB, free: 400 kB / 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.001388/0.001388, allocations: 159.1 kB / 24.48 MB, free: 3.465 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.387/1.387, allocations: 173.4 MB / 201.1 MB, free: 12.6 MB / 190.1 MB " [Timeout remaining time 179] 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.001637/0.001637, allocations: 50.97 kB / 319.4 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08643/0.08807, allocations: 52.16 MB / 371.6 MB, free: 7.32 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.00417/0.09224, allocations: 2.684 MB / 374.3 MB, free: 4.625 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001276/0.09352, allocations: 0.6973 MB / 375 MB, free: 3.922 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001432/0.09366, allocations: 4 kB / 375 MB, free: 3.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.09382, allocations: 43.52 kB / 375 MB, free: 3.875 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.09403, allocations: 103.2 kB / 375.1 MB, free: 3.773 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003014/0.09433, allocations: 119.8 kB / 375.2 MB, free: 3.656 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004678/0.0948, allocations: 390.5 kB / 375.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002002/0.095, allocations: 83.61 kB / 375.7 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002489/0.09525, allocations: 159.4 kB / 375.9 MB, free: 3.031 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000228/0.09548, allocations: 139.3 kB / 376 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.537e-05/0.09554, allocations: 40 kB / 376 MB, free: 2.855 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.298e-05/0.0956, allocations: 36 kB / 376.1 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.713e-05/0.09569, allocations: 83.69 kB / 376.2 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.09586, allocations: 127.5 kB / 376.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000506/0.09636, allocations: 434.3 kB / 376.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.09637, allocations: 0 / 376.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.763e-06/0.09637, allocations: 0 / 376.7 MB, free: 2.188 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.09638, allocations: 4 kB / 376.7 MB, free: 2.184 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.001423/0.0978, allocations: 0.5848 MB / 377.3 MB, free: 1.559 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.09784, allocations: 8.031 kB / 377.3 MB, free: 1.551 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.323e-05/0.09793, allocations: 40.7 kB / 377.3 MB, free: 1.512 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004021/0.09833, allocations: 227 kB / 377.6 MB, free: 1.266 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.09836, allocations: 20.88 kB / 377.6 MB, free: 1.246 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.421e-05/0.09841, allocations: 28.36 kB / 377.6 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000754/0.09917, allocations: 344.7 kB / 377.9 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.09918, allocations: 4 kB / 378 MB, free: 0.8594 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.09921, allocations: 8 kB / 378 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.09921, allocations: 8 kB / 378 MB, free: 0.8438 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008543/0.1001, allocations: 265.8 kB / 378.2 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002115/0.1022, allocations: 1.015 MB / 379.2 MB, free: 15.5 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000946/0.1031, allocations: 234.5 kB / 379.5 MB, free: 15.26 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003687/0.1035, allocations: 104.8 kB / 379.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.823e-05/0.1035, allocations: 0 / 379.6 MB, free: 15.16 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004961/0.104, allocations: 190.7 kB / 379.8 MB, free: 14.95 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.232e-06/0.104, allocations: 3.938 kB / 379.8 MB, free: 14.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.002199/0.1062, allocations: 0.5213 MB / 380.3 MB, free: 14.41 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.474e-05/0.1063, allocations: 81.11 kB / 380.4 MB, free: 14.31 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.1066, allocations: 261.8 kB / 380.6 MB, free: 14.05 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.1066, allocations: 29.7 kB / 380.6 MB, free: 14.02 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001565/0.1068, allocations: 204 kB / 380.8 MB, free: 13.81 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.945e-05/0.1068, allocations: 39.67 kB / 380.9 MB, free: 13.77 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.745e-05/0.1069, allocations: 49.7 kB / 380.9 MB, free: 13.72 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.1071, allocations: 334.8 kB / 381.3 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004096/0.1075, allocations: 133.9 kB / 381.4 MB, free: 13.24 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004744/0.1079, allocations: 242.9 kB / 381.6 MB, free: 12.95 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007954/0.1087, allocations: 299.8 kB / 381.9 MB, free: 12.62 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.1087, allocations: 4 kB / 381.9 MB, free: 12.61 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001308/0.11, allocations: 480.3 kB / 382.4 MB, free: 12.12 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.1e-05/0.1101, allocations: 36.5 kB / 382.4 MB, free: 12.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1101, allocations: 4 kB / 382.4 MB, free: 12.08 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003348/0.1104, allocations: 76.81 kB / 382.5 MB, free: 12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002483/0.1107, allocations: 51.91 kB / 382.6 MB, free: 11.95 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002318/0.113, allocations: 1.507 MB / 384.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003236/0.1133, allocations: 51.75 kB / 384.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.1133, allocations: 8 kB / 384.1 MB, free: 10.29 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.0001596/0.1135, allocations: 157.6 kB / 384.3 MB, free: 10.12 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.1135, allocations: 23.84 kB / 384.3 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.884e-05/0.1136, allocations: 29.83 kB / 384.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.1136, allocations: 0 / 384.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.984e-06/0.1136, allocations: 0 / 384.3 MB, free: 10.07 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.501e-06/0.1136, allocations: 3.984 kB / 384.3 MB, free: 10.06 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.1138, allocations: 209.2 kB / 384.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.1138, allocations: 0 / 384.5 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001995/0.114, allocations: 31.97 kB / 384.6 MB, free: 9.797 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002353/0.1143, allocations: 64.81 kB / 384.6 MB, free: 9.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.1143, allocations: 4 kB / 384.6 MB, free: 9.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002111/0.1164, allocations: 1.506 MB / 386.1 MB, free: 8.117 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1164, allocations: 4.094 kB / 386.1 MB, free: 8.113 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001464/0.1179, allocations: 449.4 kB / 386.6 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.625e-05/0.1179, allocations: 27.81 kB / 386.6 MB, free: 7.625 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.195e-05/0.1179, allocations: 4 kB / 386.6 MB, free: 7.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002437/0.1182, allocations: 35.97 kB / 386.7 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/0.1183, allocations: 19.97 kB / 386.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.13e-05/0.1183, allocations: 0 / 386.7 MB, free: 7.566 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000198/0.1185, allocations: 185.2 kB / 386.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1185, allocations: 0 / 386.9 MB, free: 7.387 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003376/0.1188, allocations: 67.88 kB / 386.9 MB, free: 7.32 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.0001323/0.1189, allocations: 107.2 kB / 387 MB, free: 7.203 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001023/0.12, allocations: 428.1 kB / 387.4 MB, free: 6.754 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.12, allocations: 4.125 kB / 387.4 MB, free: 6.75 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004858/0.1205, allocations: 214.6 kB / 387.7 MB, free: 6.527 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.1208, allocations: 40.41 kB / 387.7 MB, free: 6.484 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003681/0.1245, allocations: 0.8803 MB / 388.6 MB, free: 5.582 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001455/0.1246, allocations: 142.9 kB / 388.7 MB, free: 5.426 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.59e-05/0.1247, allocations: 22.3 kB / 388.7 MB, free: 5.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.459e-05/0.1248, allocations: 20.5 kB / 388.8 MB, free: 5.383 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1248, allocations: 0 / 388.8 MB, free: 5.383 MB / 350.1 MB Notification: Performance of Templates: time 0.008362/0.1331, allocations: 3.727 MB / 392.5 MB, free: 1.715 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 -s ida -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: 4.353206060011871]