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.001166/0.001166, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.005183/0.005183, allocations: 164.8 kB / 24.7 MB, free: 9.426 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.8786/0.8786, allocations: 177.2 MB / 205 MB, free: 5.738 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.723e-06/1.723e-06, allocations: 0 / 325.9 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.887e-05, allocations: 4.672 kB / 325.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004451/0.00448, allocations: 2.708 MB / 328.6 MB, free: 12.68 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002206/0.006686, allocations: 0.7245 MB / 329.3 MB, free: 11.95 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002644/0.00695, allocations: 4 kB / 329.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001766/0.007127, allocations: 47.52 kB / 329.4 MB, free: 11.89 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002354/0.007362, allocations: 115.1 kB / 329.5 MB, free: 11.78 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003578/0.00772, allocations: 115.8 kB / 329.6 MB, free: 11.67 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003973/0.008117, allocations: 402.3 kB / 330 MB, free: 11.27 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002319/0.008349, allocations: 83.66 kB / 330.1 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003082/0.008658, allocations: 227.4 kB / 330.3 MB, free: 10.97 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001302/0.008788, allocations: 123.7 kB / 330.4 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.591e-05/0.008824, allocations: 36 kB / 330.4 MB, free: 10.81 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.976e-05/0.008863, allocations: 40 kB / 330.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.101e-05/0.008914, allocations: 83.67 kB / 330.6 MB, free: 10.69 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 8.397e-05/0.008998, allocations: 115.7 kB / 330.7 MB, free: 10.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003458/0.009344, allocations: 438.6 kB / 331.1 MB, free: 10.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.009348, allocations: 0 / 331.1 MB, free: 10.15 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.00935, allocations: 4 kB / 331.1 MB, free: 10.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.009355, allocations: 0 / 331.1 MB, free: 10.14 MB / 298.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.0007912/0.01015, allocations: 0.5858 MB / 331.7 MB, free: 9.523 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.177e-05/0.01018, allocations: 8.031 kB / 331.7 MB, free: 9.516 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.502e-05/0.01023, allocations: 32.75 kB / 331.7 MB, free: 9.484 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.01054, allocations: 242.1 kB / 332 MB, free: 9.223 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.01056, allocations: 20.88 kB / 332 MB, free: 9.203 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.358e-05/0.01059, allocations: 24.38 kB / 332 MB, free: 9.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004126/0.011, allocations: 341 kB / 332.3 MB, free: 8.828 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.01101, allocations: 192 / 332.3 MB, free: 8.828 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.902e-05/0.01103, allocations: 4.375 kB / 332.3 MB, free: 8.824 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.01104, allocations: 15.88 kB / 332.4 MB, free: 8.809 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004134/0.01145, allocations: 277.8 kB / 332.6 MB, free: 8.539 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001028/0.01248, allocations: 0.9454 MB / 333.6 MB, free: 7.527 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004718/0.01295, allocations: 242.5 kB / 333.8 MB, free: 7.281 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.01312, allocations: 100.8 kB / 333.9 MB, free: 7.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.845e-05/0.01314, allocations: 4 kB / 333.9 MB, free: 7.176 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003081/0.01345, allocations: 198.6 kB / 334.1 MB, free: 6.957 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.353e-06/0.01345, allocations: 0 / 334.1 MB, free: 6.957 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0005378/0.01399, allocations: 309.3 kB / 334.4 MB, free: 6.648 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.01403, allocations: 85.11 kB / 334.5 MB, free: 6.547 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.01421, allocations: 257.8 kB / 334.8 MB, free: 6.285 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.01423, allocations: 33.7 kB / 334.8 MB, free: 6.246 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.954e-05/0.01432, allocations: 208 kB / 335 MB, free: 6.039 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.01434, allocations: 39.69 kB / 335 MB, free: 6 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.717e-05/0.0144, allocations: 49.66 kB / 335.1 MB, free: 5.945 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.683e-05/0.01448, allocations: 330.8 kB / 335.4 MB, free: 5.613 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001822/0.01466, allocations: 129.9 kB / 335.5 MB, free: 5.477 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.01487, allocations: 250.9 kB / 335.8 MB, free: 5.18 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004291/0.0153, allocations: 306.3 kB / 336.1 MB, free: 4.84 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.0153, allocations: 0 / 336.1 MB, free: 4.84 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004498/0.01575, allocations: 392.8 kB / 336.5 MB, free: 4.438 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.008e-05/0.01578, allocations: 33.7 kB / 336.5 MB, free: 4.398 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.01579, allocations: 7.938 kB / 336.5 MB, free: 4.391 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.276e-05/0.0158, allocations: 4 kB / 336.5 MB, free: 4.387 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001442/0.01595, allocations: 67.94 kB / 336.6 MB, free: 4.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.01595, allocations: 7.938 kB / 336.6 MB, free: 4.312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001422/0.0161, allocations: 51.88 kB / 336.6 MB, free: 4.262 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.01611, allocations: 11.98 kB / 336.6 MB, free: 4.25 MB / 298.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 9.955e-05/0.01621, allocations: 149.7 kB / 336.8 MB, free: 4.094 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.01623, allocations: 19.86 kB / 336.8 MB, free: 4.074 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.419e-05/0.01627, allocations: 29.7 kB / 336.8 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.01627, allocations: 0 / 336.8 MB, free: 4.047 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.01627, allocations: 4 kB / 336.8 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01628, allocations: 0 / 336.8 MB, free: 4.043 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000156/0.01643, allocations: 221.1 kB / 337 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.01644, allocations: 4 kB / 337.1 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001162/0.01655, allocations: 39.97 kB / 337.1 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.01655, allocations: 0 / 337.1 MB, free: 3.754 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.698e-06/0.01656, allocations: 3.984 kB / 337.1 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01657, allocations: 0 / 337.1 MB, free: 3.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01657, allocations: 4 kB / 337.1 MB, free: 3.746 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005464/0.01711, allocations: 375.3 kB / 337.5 MB, free: 3.363 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.01714, allocations: 23.83 kB / 337.5 MB, free: 3.34 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.01716, allocations: 4 kB / 337.5 MB, free: 3.336 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001042/0.01727, allocations: 36.02 kB / 337.5 MB, free: 3.301 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.884e-05/0.01732, allocations: 19.97 kB / 337.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.01732, allocations: 0 / 337.5 MB, free: 3.281 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001113/0.01744, allocations: 181.2 kB / 337.7 MB, free: 3.105 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01744, allocations: 4 kB / 337.7 MB, free: 3.102 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001928/0.01763, allocations: 67.78 kB / 337.8 MB, free: 3.035 MB / 298.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.0001015/0.01773, allocations: 103.2 kB / 337.9 MB, free: 2.926 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.000421/0.01815, allocations: 315.9 kB / 338.2 MB, free: 2.602 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01815, allocations: 4.062 kB / 338.2 MB, free: 2.598 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.01831, allocations: 95.92 kB / 338.3 MB, free: 2.504 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002278/0.01854, allocations: 48.39 kB / 338.3 MB, free: 2.457 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007123/0.01925, allocations: 0.5048 MB / 338.9 MB, free: 1.918 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.096e-05/0.01933, allocations: 142.9 kB / 339 MB, free: 1.758 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.753e-05/0.01939, allocations: 20.5 kB / 339 MB, free: 1.734 MB / 298.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01939, allocations: 3.938 kB / 339 MB, free: 1.73 MB / 298.7 MB Notification: Performance of Templates: time 0.003698/0.02309, allocations: 3.422 MB / 342.4 MB, free: 14.32 MB / 314.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.08560364227742]