Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.000939/0.000939, allocations: 71.75 kB / 21.69 MB, free: 2.84 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009332/0.0009332, allocations: 164.8 kB / 24.99 MB, free: 8.293 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9713/0.9713, allocations: 177.1 MB / 205.3 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.884e-06/1.884e-06, allocations: 0 / 273.1 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.506e-05/3.694e-05, allocations: 2.312 kB / 273.1 MB, free: 1.801 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.009966/0.01, allocations: 2.869 MB / 276 MB, free: 14.91 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.01121, allocations: 0.74 MB / 276.7 MB, free: 14.17 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000137/0.01135, allocations: 4 kB / 276.7 MB, free: 14.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001501/0.0115, allocations: 43.56 kB / 276.8 MB, free: 14.12 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001826/0.01168, allocations: 107.1 kB / 276.9 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.01196, allocations: 119.7 kB / 277 MB, free: 13.9 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003813/0.01234, allocations: 406.3 kB / 277.4 MB, free: 13.5 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003194/0.01553, allocations: 83.67 kB / 277.5 MB, free: 13.41 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003822/0.01592, allocations: 231.5 kB / 277.7 MB, free: 13.19 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.01608, allocations: 131.6 kB / 277.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.638e-05/0.01613, allocations: 36 kB / 277.9 MB, free: 13.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.534e-05/0.01618, allocations: 40 kB / 277.9 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 5.928e-05/0.01624, allocations: 79.69 kB / 278 MB, free: 12.91 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001121/0.01635, allocations: 119.7 kB / 278.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003015/0.01665, allocations: 247.1 kB / 278.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.01666, allocations: 4 kB / 278.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.01666, allocations: 0 / 278.3 MB, free: 12.54 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.678e-06/0.01666, allocations: 0 / 278.3 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: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.0009154/0.01758, allocations: 0.6662 MB / 279 MB, free: 11.84 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.01761, allocations: 16.02 kB / 279 MB, free: 11.82 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.684e-05/0.01771, allocations: 52.75 kB / 279.1 MB, free: 11.77 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002967/0.01801, allocations: 233 kB / 279.3 MB, free: 11.52 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.275e-05/0.01803, allocations: 24.81 kB / 279.3 MB, free: 11.49 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.238e-05/0.01807, allocations: 24.38 kB / 279.3 MB, free: 11.47 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003465/0.02154, allocations: 267.4 kB / 279.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.02155, allocations: 192 / 279.6 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.638e-05/0.02158, allocations: 12.38 kB / 279.6 MB, free: 11.17 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.27e-05/0.02159, allocations: 11.94 kB / 279.6 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.02181, allocations: 106.8 kB / 279.7 MB, free: 11.06 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001217/0.02302, allocations: 0.9982 MB / 280.7 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002985/0.02332, allocations: 115.1 kB / 280.8 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.801e-05/0.0234, allocations: 35.67 kB / 280.9 MB, free: 9.828 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.969e-05/0.02342, allocations: 7.938 kB / 280.9 MB, free: 9.82 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001863/0.02361, allocations: 142 kB / 281 MB, free: 9.652 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.152e-06/0.02361, allocations: 0 / 281 MB, free: 9.652 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002956/0.0239, allocations: 129.6 kB / 281.1 MB, free: 9.52 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/0.02395, allocations: 85.05 kB / 281.2 MB, free: 9.418 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.02418, allocations: 308.2 kB / 281.5 MB, free: 9.098 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.862e-05/0.0242, allocations: 25.7 kB / 281.6 MB, free: 9.066 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.02432, allocations: 242.8 kB / 281.8 MB, free: 8.824 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00304/0.02736, allocations: 43.69 kB / 281.8 MB, free: 8.781 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.224e-05/0.02744, allocations: 55.31 kB / 281.9 MB, free: 8.719 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.02758, allocations: 0.5001 MB / 282.4 MB, free: 8.207 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.369e-05/0.02767, allocations: 53.92 kB / 282.4 MB, free: 8.145 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001578/0.02783, allocations: 215.7 kB / 282.7 MB, free: 7.867 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.02804, allocations: 217.3 kB / 282.9 MB, free: 7.602 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.02804, allocations: 0 / 282.9 MB, free: 7.602 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000341/0.02838, allocations: 268.5 kB / 283.1 MB, free: 7.32 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.024e-05/0.02841, allocations: 33.7 kB / 283.2 MB, free: 7.281 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.02842, allocations: 0 / 283.2 MB, free: 7.281 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.558e-05/0.02843, allocations: 4 kB / 283.2 MB, free: 7.277 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00019/0.02862, allocations: 63.89 kB / 283.2 MB, free: 7.215 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.02863, allocations: 4 kB / 283.2 MB, free: 7.211 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.02878, allocations: 36.22 kB / 283.3 MB, free: 7.176 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.821e-05/0.0288, allocations: 16 kB / 283.3 MB, free: 7.16 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.0001042/0.02891, allocations: 172.4 kB / 283.4 MB, free: 6.98 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/0.02894, allocations: 31.84 kB / 283.5 MB, free: 6.949 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.821e-05/0.02898, allocations: 21.78 kB / 283.5 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.02898, allocations: 0 / 283.5 MB, free: 6.93 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.02899, allocations: 3.984 kB / 283.5 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.02899, allocations: 0 / 283.5 MB, free: 6.926 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.02918, allocations: 220.4 kB / 283.7 MB, free: 6.676 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.02918, allocations: 4 kB / 283.7 MB, free: 6.672 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001261/0.02931, allocations: 39.91 kB / 283.8 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.02931, allocations: 0 / 283.8 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/0.02932, allocations: 0 / 283.8 MB, free: 6.633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.02932, allocations: 3.938 kB / 283.8 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.031e-06/0.02932, allocations: 0 / 283.8 MB, free: 6.629 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002861/0.02961, allocations: 180.7 kB / 283.9 MB, free: 6.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.993e-05/0.02964, allocations: 15.86 kB / 284 MB, free: 6.414 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.02967, allocations: 8 kB / 284 MB, free: 6.406 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.02977, allocations: 24 kB / 284 MB, free: 6.383 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.542e-05/0.02983, allocations: 11.98 kB / 284 MB, free: 6.371 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.061e-05/0.02984, allocations: 7.984 kB / 284 MB, free: 6.363 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001351/0.02997, allocations: 205.1 kB / 284.2 MB, free: 6.164 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02997, allocations: 0 / 284.2 MB, free: 6.164 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.003276/0.03325, allocations: 67.78 kB / 284.3 MB, free: 6.098 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.0001123/0.03336, allocations: 115.2 kB / 284.4 MB, free: 5.973 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002661/0.03363, allocations: 188.9 kB / 284.6 MB, free: 5.766 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.03363, allocations: 0 / 284.6 MB, free: 5.766 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 8.409e-05/0.03371, allocations: 51.53 kB / 284.6 MB, free: 5.711 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002678/0.03398, allocations: 55.06 kB / 284.7 MB, free: 5.66 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009373/0.03492, allocations: 470.5 kB / 285.1 MB, free: 5.172 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.045e-05/0.03497, allocations: 80.31 kB / 285.2 MB, free: 5.074 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 9.05e-05/0.03506, allocations: 30.28 kB / 285.2 MB, free: 5.047 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.135e-05/0.03512, allocations: 24.5 kB / 285.3 MB, free: 5.023 MB / 266.7 MB Notification: Performance of SimCode: time 5.51e-07/0.03512, allocations: 0 / 285.3 MB, free: 5.023 MB / 266.7 MB Notification: Performance of Templates: time 0.01156/0.04668, allocations: 3.136 MB / 288.4 MB, free: 1.934 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.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.960265713976696]