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.0009557/0.0009557, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.001069/0.001069, allocations: 165 kB / 24.91 MB, free: 9.184 MB / 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 0.9744/0.9744, allocations: 177 MB / 205.2 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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.873e-06/1.873e-06, allocations: 0 / 273.5 MB, free: 1.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.24e-05/2.428e-05, allocations: 2.312 kB / 273.5 MB, free: 1.156 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Integrator): time 0.006727/0.006752, allocations: 2.916 MB / 276.4 MB, free: 14.22 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004341/0.01109, allocations: 0.7242 MB / 277.1 MB, free: 13.49 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001843/0.01128, allocations: 4 kB / 277.1 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.01144, allocations: 47.52 kB / 277.2 MB, free: 13.44 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002318/0.01167, allocations: 111.1 kB / 277.3 MB, free: 13.33 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003074/0.01198, allocations: 99.75 kB / 277.4 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000484/0.01247, allocations: 390.3 kB / 277.7 MB, free: 12.85 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/0.01267, allocations: 98.27 kB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003851/0.01306, allocations: 239.4 kB / 278.1 MB, free: 12.51 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003217/0.01627, allocations: 131.6 kB / 278.2 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.886e-05/0.01632, allocations: 40 kB / 278.2 MB, free: 12.34 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.446e-05/0.01637, allocations: 40 kB / 278.3 MB, free: 12.3 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.76e-05/0.01642, allocations: 79.69 kB / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001052/0.01653, allocations: 111.8 kB / 278.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003028/0.01683, allocations: 251.1 kB / 278.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.01683, allocations: 0 / 278.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.01684, allocations: 0 / 278.7 MB, free: 11.87 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.01684, allocations: 7.938 kB / 278.7 MB, free: 11.86 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.0007714/0.01761, allocations: 0.5444 MB / 279.3 MB, free: 11.29 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.511e-05/0.01765, allocations: 11.98 kB / 279.3 MB, free: 11.28 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.248e-05/0.01772, allocations: 44.89 kB / 279.3 MB, free: 11.23 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.01798, allocations: 201 kB / 279.5 MB, free: 11.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.263e-05/0.01801, allocations: 16.88 kB / 279.5 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.932e-05/0.01805, allocations: 28.36 kB / 279.6 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003071/0.01835, allocations: 240.7 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.01836, allocations: 4.188 kB / 279.8 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.835e-05/0.01838, allocations: 8.375 kB / 279.8 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.798e-06/0.01839, allocations: 11.94 kB / 279.8 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.01851, allocations: 71.45 kB / 279.9 MB, free: 10.62 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004078/0.02259, allocations: 0.7698 MB / 280.7 MB, free: 9.793 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.02281, allocations: 90.41 kB / 280.7 MB, free: 9.695 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.756e-05/0.02286, allocations: 36.84 kB / 280.8 MB, free: 9.656 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.02287, allocations: 4 kB / 280.8 MB, free: 9.652 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001918/0.02307, allocations: 175.8 kB / 281 MB, free: 9.453 MB / 266.7 MB Notification: Performance of pre-optimization done (n=15): time 1.984e-06/0.02307, allocations: 0 / 281 MB, free: 9.453 MB / 266.7 MB Notification: Performance of matching and sorting (n=15): time 0.0004344/0.0235, allocations: 170.4 kB / 281.1 MB, free: 9.277 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.02355, allocations: 110.8 kB / 281.2 MB, free: 9.145 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001655/0.02372, allocations: 236.9 kB / 281.5 MB, free: 8.902 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.02374, allocations: 29.7 kB / 281.5 MB, free: 8.867 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.579e-05/0.02382, allocations: 184 kB / 281.7 MB, free: 8.684 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.431e-05/0.02386, allocations: 47.58 kB / 281.7 MB, free: 8.637 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.271e-05/0.02393, allocations: 53.91 kB / 281.8 MB, free: 8.574 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.038e-05/0.02402, allocations: 338.7 kB / 282.1 MB, free: 8.234 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.667e-05/0.02408, allocations: 53.92 kB / 282.2 MB, free: 8.176 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000114/0.02419, allocations: 192.6 kB / 282.3 MB, free: 7.93 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.02435, allocations: 170.2 kB / 282.5 MB, free: 7.727 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.02435, allocations: 4 kB / 282.5 MB, free: 7.723 MB / 266.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0002998/0.02465, allocations: 245.7 kB / 282.8 MB, free: 7.461 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.473e-05/0.02468, allocations: 37.69 kB / 282.8 MB, free: 7.418 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.02469, allocations: 4 kB / 282.8 MB, free: 7.414 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003224/0.02791, allocations: 52.75 kB / 282.8 MB, free: 7.359 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001725/0.02808, allocations: 55.91 kB / 282.9 MB, free: 7.305 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008608/0.02895, allocations: 1.262 MB / 284.2 MB, free: 5.949 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/0.02907, allocations: 39.83 kB / 284.2 MB, free: 5.91 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.02908, allocations: 8 kB / 284.2 MB, free: 5.902 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 9.294e-05/0.02918, allocations: 133.7 kB / 284.3 MB, free: 5.762 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.0292, allocations: 27.94 kB / 284.4 MB, free: 5.734 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.02923, allocations: 25.77 kB / 284.4 MB, free: 5.707 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/0.02923, allocations: 4 kB / 284.4 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.644e-06/0.02923, allocations: 0 / 284.4 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.02924, allocations: 0 / 284.4 MB, free: 5.703 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001135/0.02935, allocations: 141.7 kB / 284.5 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.02935, allocations: 4 kB / 284.5 MB, free: 5.543 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.662e-05/0.02945, allocations: 35.91 kB / 284.6 MB, free: 5.508 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001317/0.02958, allocations: 52.84 kB / 284.6 MB, free: 5.453 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.02959, allocations: 11.98 kB / 284.6 MB, free: 5.441 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006039/0.0302, allocations: 1.246 MB / 285.9 MB, free: 4.102 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.0302, allocations: 0 / 285.9 MB, free: 4.102 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001933/0.03039, allocations: 177.7 kB / 286.1 MB, free: 3.906 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.001e-05/0.03041, allocations: 23.83 kB / 286.1 MB, free: 3.883 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.03043, allocations: 8 kB / 286.1 MB, free: 3.875 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.845e-05/0.0305, allocations: 19.98 kB / 286.1 MB, free: 3.855 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.786e-05/0.03055, allocations: 23.95 kB / 286.1 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.801e-06/0.03055, allocations: 0 / 286.1 MB, free: 3.832 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.892e-05/0.03061, allocations: 82.72 kB / 286.2 MB, free: 3.746 MB / 266.7 MB Notification: Performance of sort global known variables: time 3e-08/0.03061, allocations: 0 / 286.2 MB, free: 3.746 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001842/0.0308, allocations: 75.84 kB / 286.3 MB, free: 3.672 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.0001054/0.0309, allocations: 95.62 kB / 286.4 MB, free: 3.57 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002669/0.03117, allocations: 298.6 kB / 286.7 MB, free: 3.25 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.03117, allocations: 7.938 kB / 286.7 MB, free: 3.242 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001159/0.03129, allocations: 171.3 kB / 286.8 MB, free: 3.059 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001531/0.03144, allocations: 61 kB / 286.9 MB, free: 3 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009697/0.03241, allocations: 0.544 MB / 287.4 MB, free: 2.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.475e-05/0.03246, allocations: 88.17 kB / 287.5 MB, free: 2.324 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 7.699e-05/0.03253, allocations: 30.27 kB / 287.6 MB, free: 2.297 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001201/0.03265, allocations: 99.34 kB / 287.7 MB, free: 2.199 MB / 266.7 MB Notification: Performance of SimCode: time 6.62e-07/0.03266, allocations: 0 / 287.7 MB, free: 2.199 MB / 266.7 MB Notification: Performance of Templates: time 0.006199/0.03885, allocations: 4.23 MB / 291.9 MB, free: 14.04 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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Integrator.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.7462521283887327]