Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.001599/0.001599, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 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.001736/0.001736, allocations: 149.4 kB / 24.26 MB, free: 184 kB / 18.57 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.553/1.553, allocations: 173.4 MB / 200.8 MB, free: 9.285 MB / 186.7 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.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 267.4 MB, free: 6.668 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.165e-05/3.363e-05, allocations: 6.312 kB / 267.4 MB, free: 6.66 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.005877/0.005911, allocations: 2.686 MB / 270.1 MB, free: 3.957 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.007825, allocations: 0.6933 MB / 270.7 MB, free: 3.258 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001794/0.008004, allocations: 4 kB / 270.7 MB, free: 3.254 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002058/0.00821, allocations: 43.58 kB / 270.8 MB, free: 3.211 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002581/0.008468, allocations: 115 kB / 270.9 MB, free: 3.098 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.00884, allocations: 115.8 kB / 271 MB, free: 2.984 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000561/0.009401, allocations: 398.3 kB / 271.4 MB, free: 2.594 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002473/0.009648, allocations: 87.59 kB / 271.5 MB, free: 2.504 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003951/0.01004, allocations: 227.5 kB / 271.7 MB, free: 2.281 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.01027, allocations: 123.6 kB / 271.8 MB, free: 2.16 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 7.164e-05/0.01034, allocations: 36 kB / 271.9 MB, free: 2.125 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.878e-05/0.01041, allocations: 40 kB / 271.9 MB, free: 2.086 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001005/0.01051, allocations: 79.67 kB / 272 MB, free: 2.008 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001801/0.01069, allocations: 119.7 kB / 272.1 MB, free: 1.891 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006025/0.01129, allocations: 430.7 kB / 272.5 MB, free: 1.469 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.01129, allocations: 0 / 272.5 MB, free: 1.469 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.01129, allocations: 0 / 272.5 MB, free: 1.469 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.0113, allocations: 3.938 kB / 272.5 MB, free: 1.465 MB / 250.7 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.001546/0.01285, allocations: 0.5936 MB / 273.1 MB, free: 0.832 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.01289, allocations: 8.031 kB / 273.1 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.01303, allocations: 56.7 kB / 273.2 MB, free: 0.7695 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000523/0.01355, allocations: 234.2 kB / 273.4 MB, free: 0.5156 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.01359, allocations: 16.88 kB / 273.4 MB, free: 0.5 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.508e-05/0.01365, allocations: 20.38 kB / 273.5 MB, free: 492 kB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008402/0.0145, allocations: 345 kB / 273.8 MB, free: 128 kB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.01451, allocations: 192 / 273.8 MB, free: 128 kB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.605e-05/0.01454, allocations: 12.38 kB / 273.8 MB, free: 116 kB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.481e-05/0.01456, allocations: 7.938 kB / 273.8 MB, free: 108 kB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009114/0.01547, allocations: 277.8 kB / 274.1 MB, free: 15.84 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001993/0.01746, allocations: 0.9532 MB / 275 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009753/0.01844, allocations: 246.5 kB / 275.3 MB, free: 14.57 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003559/0.01879, allocations: 96.78 kB / 275.4 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.51e-05/0.01882, allocations: 4 kB / 275.4 MB, free: 14.47 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000528/0.01935, allocations: 202.6 kB / 275.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.01935, allocations: 0 / 275.6 MB, free: 14.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.001209/0.02056, allocations: 313.3 kB / 275.9 MB, free: 13.93 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.223e-05/0.02064, allocations: 85.09 kB / 276 MB, free: 13.83 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003343/0.02097, allocations: 253.8 kB / 276.2 MB, free: 13.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.568e-05/0.02101, allocations: 37.64 kB / 276.2 MB, free: 13.53 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003325/0.02134, allocations: 204 kB / 276.4 MB, free: 13.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.803e-05/0.0214, allocations: 35.69 kB / 276.5 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.966e-05/0.0215, allocations: 45.7 kB / 276.5 MB, free: 13.24 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.02171, allocations: 334.8 kB / 276.8 MB, free: 12.9 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003996/0.02211, allocations: 129.9 kB / 277 MB, free: 12.77 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005045/0.02261, allocations: 254.9 kB / 277.2 MB, free: 12.46 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000948/0.02356, allocations: 307.2 kB / 277.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.02356, allocations: 3.938 kB / 277.5 MB, free: 12.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001163/0.02473, allocations: 400.8 kB / 277.9 MB, free: 11.71 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.481e-05/0.02478, allocations: 33.7 kB / 278 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.02479, allocations: 4 kB / 278 MB, free: 11.67 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/0.02482, allocations: 4 kB / 278 MB, free: 11.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.02514, allocations: 71.88 kB / 278 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.02515, allocations: 4 kB / 278 MB, free: 11.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003241/0.02547, allocations: 55.81 kB / 278.1 MB, free: 11.54 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.692e-05/0.0255, allocations: 11.98 kB / 278.1 MB, free: 11.52 MB / 266.7 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 (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001823/0.02568, allocations: 153.7 kB / 278.3 MB, free: 11.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.715e-05/0.02573, allocations: 23.86 kB / 278.3 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.709e-05/0.02579, allocations: 21.77 kB / 278.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.0258, allocations: 8 kB / 278.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.0258, allocations: 0 / 278.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.02581, allocations: 0 / 278.3 MB, free: 11.31 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.02609, allocations: 213.2 kB / 278.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.02609, allocations: 4 kB / 278.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002941/0.02638, allocations: 43.89 kB / 278.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.02638, allocations: 0 / 278.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.0264, allocations: 7.984 kB / 278.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.02641, allocations: 0 / 278.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.02641, allocations: 0 / 278.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001208/0.02761, allocations: 376.6 kB / 278.9 MB, free: 10.63 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.416e-05/0.02767, allocations: 27.83 kB / 279 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.777e-05/0.02771, allocations: 0 / 279 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002483/0.02795, allocations: 36.02 kB / 279 MB, free: 10.57 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.441e-05/0.02804, allocations: 15.98 kB / 279 MB, free: 10.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.02805, allocations: 3.984 kB / 279 MB, free: 10.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002178/0.02827, allocations: 185.2 kB / 279.2 MB, free: 10.37 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.02827, allocations: 0 / 279.2 MB, free: 10.37 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000318/0.02859, allocations: 63.89 kB / 279.3 MB, free: 10.3 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der_.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 (12): * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001487/0.02874, allocations: 103.2 kB / 279.4 MB, free: 10.2 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0008919/0.02963, allocations: 317.2 kB / 279.7 MB, free: 9.867 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.02963, allocations: 8.188 kB / 279.7 MB, free: 9.859 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003602/0.02999, allocations: 95.86 kB / 279.8 MB, free: 9.766 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003595/0.03035, allocations: 53.11 kB / 279.8 MB, free: 9.715 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001395/0.03175, allocations: 0.4973 MB / 280.3 MB, free: 9.191 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001658/0.03191, allocations: 138.9 kB / 280.5 MB, free: 9.035 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001173/0.03203, allocations: 26.28 kB / 280.5 MB, free: 9.012 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.588e-05/0.03213, allocations: 24.5 kB / 280.5 MB, free: 8.988 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.03213, allocations: 4 kB / 280.5 MB, free: 8.984 MB / 266.7 MB Notification: Performance of Templates: time 0.008438/0.04056, allocations: 3.098 MB / 283.6 MB, free: 5.938 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.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.607003047014587]