Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.002072/0.002072, allocations: 96.25 kB / 20.96 MB, free: 3.469 MB / 18.57 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.002465/0.002465, allocations: 156.9 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.524/1.524, allocations: 177 MB / 204.4 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 272.2 MB, free: 1.777 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.866e-05/3.02e-05, allocations: 2.312 kB / 272.2 MB, free: 1.773 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.00449/0.00452, allocations: 2.724 MB / 275 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001437/0.005957, allocations: 0.6893 MB / 275.7 MB, free: 14.34 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001332/0.006091, allocations: 11.94 kB / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001663/0.006257, allocations: 43.56 kB / 275.7 MB, free: 14.28 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.00649, allocations: 111 kB / 275.8 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002835/0.006774, allocations: 95.77 kB / 275.9 MB, free: 14.08 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004871/0.007261, allocations: 406.3 kB / 276.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002112/0.007472, allocations: 83.67 kB / 276.4 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003969/0.007869, allocations: 235.4 kB / 276.6 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002084/0.008077, allocations: 127.6 kB / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.136e-05/0.008139, allocations: 36 kB / 276.8 MB, free: 13.21 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.063e-05/0.008209, allocations: 40 kB / 276.8 MB, free: 13.17 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.785e-05/0.008297, allocations: 75.69 kB / 276.9 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001638/0.008461, allocations: 119.7 kB / 277 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005484/0.009009, allocations: 446.6 kB / 277.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.009013, allocations: 4 kB / 277.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.153e-06/0.009014, allocations: 0 / 277.4 MB, free: 12.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 6.262e-06/0.00902, allocations: 0 / 277.4 MB, free: 12.54 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.001311/0.01033, allocations: 0.5808 MB / 278 MB, free: 11.92 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.01038, allocations: 15.98 kB / 278 MB, free: 11.9 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001349/0.01051, allocations: 52.75 kB / 278.1 MB, free: 11.85 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004825/0.01099, allocations: 237.3 kB / 278.3 MB, free: 11.59 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003144/0.01131, allocations: 20.88 kB / 278.3 MB, free: 11.57 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.315e-05/0.01137, allocations: 24.38 kB / 278.4 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007266/0.0121, allocations: 327.9 kB / 278.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.01211, allocations: 192 / 278.7 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.515e-05/0.01215, allocations: 12.38 kB / 278.7 MB, free: 11.2 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.225e-05/0.01216, allocations: 7.938 kB / 278.7 MB, free: 11.19 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007072/0.01287, allocations: 257.8 kB / 279 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002092/0.01496, allocations: 0.9631 MB / 279.9 MB, free: 9.906 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007559/0.01571, allocations: 206.6 kB / 280.1 MB, free: 9.695 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002778/0.01599, allocations: 88.8 kB / 280.2 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.01602, allocations: 4 kB / 280.2 MB, free: 9.602 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004951/0.01651, allocations: 221.2 kB / 280.4 MB, free: 9.352 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.473e-06/0.01651, allocations: 0 / 280.4 MB, free: 9.352 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.001493/0.01801, allocations: 394 kB / 280.8 MB, free: 8.957 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.513e-05/0.0181, allocations: 106.8 kB / 280.9 MB, free: 8.828 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003444/0.01845, allocations: 257.8 kB / 281.2 MB, free: 8.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.949e-05/0.01849, allocations: 33.7 kB / 281.2 MB, free: 8.531 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001942/0.01868, allocations: 204 kB / 281.4 MB, free: 8.328 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.873e-05/0.01874, allocations: 47.62 kB / 281.5 MB, free: 8.281 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.01885, allocations: 53.94 kB / 281.5 MB, free: 8.219 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.01904, allocations: 330.8 kB / 281.8 MB, free: 7.887 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000329/0.01937, allocations: 121.9 kB / 281.9 MB, free: 7.762 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004399/0.01981, allocations: 264.6 kB / 282.2 MB, free: 7.445 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006361/0.02045, allocations: 274.2 kB / 282.5 MB, free: 7.141 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.02045, allocations: 0 / 282.5 MB, free: 7.141 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001049/0.0215, allocations: 425.6 kB / 282.9 MB, free: 6.703 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.353e-05/0.02155, allocations: 33.7 kB / 282.9 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.02156, allocations: 0 / 282.9 MB, free: 6.664 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004947/0.02205, allocations: 88.73 kB / 283 MB, free: 6.574 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002434/0.0223, allocations: 47.91 kB / 283.1 MB, free: 6.527 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00205/0.02435, allocations: 1.477 MB / 284.5 MB, free: 4.938 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000308/0.02466, allocations: 43.81 kB / 284.6 MB, free: 4.895 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.02468, allocations: 8 kB / 284.6 MB, free: 4.887 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 7 (vIn.signalSource.count,$PRE.vIn.signalSource.count,vIn.signalSource.T_start,$PRE.vIn.signalSource.T_start,integrator.opAmp.satNeg,integrator.opAmp.satPos,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0002107/0.02489, allocations: 153.7 kB / 284.7 MB, free: 4.727 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.387e-05/0.02495, allocations: 23.86 kB / 284.8 MB, free: 4.703 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.031e-05/0.02502, allocations: 33.83 kB / 284.8 MB, free: 4.664 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.02502, allocations: 0 / 284.8 MB, free: 4.664 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.02502, allocations: 0 / 284.8 MB, free: 4.664 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.02503, allocations: 0 / 284.8 MB, free: 4.664 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003186/0.02535, allocations: 229 kB / 285 MB, free: 4.41 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.02535, allocations: 0 / 285 MB, free: 4.41 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/0.02554, allocations: 31.91 kB / 285 MB, free: 4.379 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003834/0.02593, allocations: 80.77 kB / 285.1 MB, free: 4.297 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.64e-05/0.02595, allocations: 4 kB / 285.1 MB, free: 4.293 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002177/0.02813, allocations: 1.469 MB / 286.6 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.02813, allocations: 0 / 286.6 MB, free: 2.719 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001129/0.02926, allocations: 400.5 kB / 287 MB, free: 2.309 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.02931, allocations: 27.83 kB / 287 MB, free: 2.281 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.02934, allocations: 3.938 kB / 287 MB, free: 2.277 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002266/0.02957, allocations: 31.95 kB / 287 MB, free: 2.246 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.707e-05/0.02966, allocations: 19.97 kB / 287.1 MB, free: 2.227 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.551e-05/0.02967, allocations: 4 kB / 287.1 MB, free: 2.223 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002226/0.02989, allocations: 181.2 kB / 287.3 MB, free: 2.043 MB / 266.7 MB Notification: Performance of sort global known variables: time 1e-07/0.02989, allocations: 4.062 kB / 287.3 MB, free: 2.039 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003661/0.03026, allocations: 79.84 kB / 287.3 MB, free: 1.961 MB / 266.7 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: 5 ($whenCondition1,integrator.opAmp.satPos,integrator.opAmp.satNeg,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 (13): * Single equations (assignments): 10 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001603/0.03042, allocations: 103.2 kB / 287.4 MB, free: 1.852 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.03146, allocations: 410.8 kB / 287.8 MB, free: 1.422 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.03146, allocations: 0 / 287.8 MB, free: 1.422 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004899/0.03195, allocations: 222.4 kB / 288.1 MB, free: 1.191 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003978/0.03235, allocations: 52.83 kB / 288.1 MB, free: 1.141 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002386/0.03474, allocations: 0.6532 MB / 288.8 MB, free: 472 kB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001792/0.03492, allocations: 146.9 kB / 288.9 MB, free: 304 kB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001169/0.03503, allocations: 26.28 kB / 288.9 MB, free: 280 kB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.875e-05/0.03511, allocations: 28.5 kB / 289 MB, free: 252 kB / 266.7 MB Notification: Performance of SimCode: time 1.783e-06/0.03511, allocations: 0 / 289 MB, free: 252 kB / 266.7 MB Notification: Performance of Templates: time 0.009691/0.04481, allocations: 4.007 MB / 293 MB, free: 12.29 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Integrator/Integrator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.5480462240520865]