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.001838/0.001838, allocations: 107 kB / 21.18 MB, free: 0.6484 MB / 14.72 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.00219/0.00219, allocations: 210 kB / 24.48 MB, free: 3.941 MB / 14.72 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 1.672/1.672, allocations: 230.6 MB / 258.2 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001568/0.001568, allocations: 43.92 kB / 379 MB, free: 2.41 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3324/0.334, allocations: 53.37 MB / 432.4 MB, free: 6.676 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.005666/0.3396, allocations: 2.689 MB / 435.1 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002018/0.3417, allocations: 0.7323 MB / 435.8 MB, free: 3.238 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001994/0.3419, allocations: 7.938 kB / 435.8 MB, free: 3.23 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002108/0.3421, allocations: 43.56 kB / 435.8 MB, free: 3.188 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002612/0.3423, allocations: 103.2 kB / 435.9 MB, free: 3.086 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000383/0.3427, allocations: 115.8 kB / 436.1 MB, free: 2.973 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000589/0.3433, allocations: 390.5 kB / 436.4 MB, free: 2.59 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002688/0.3436, allocations: 91.33 kB / 436.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003775/0.3439, allocations: 163.4 kB / 436.7 MB, free: 2.34 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002625/0.3442, allocations: 167.3 kB / 436.8 MB, free: 2.176 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.488e-05/0.3443, allocations: 40 kB / 436.9 MB, free: 2.137 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.631e-05/0.3443, allocations: 36 kB / 436.9 MB, free: 2.102 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 9.288e-05/0.3444, allocations: 75.7 kB / 437 MB, free: 2.027 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.3446, allocations: 139.4 kB / 437.1 MB, free: 1.891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005818/0.3452, allocations: 433.3 kB / 437.6 MB, free: 1.469 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.3452, allocations: 4 kB / 437.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3452, allocations: 0 / 437.6 MB, free: 1.465 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.087e-06/0.3452, allocations: 0 / 437.6 MB, free: 1.465 MB / 334.1 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.00157/0.3468, allocations: 0.5897 MB / 438.1 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.929e-05/0.3468, allocations: 8.031 kB / 438.2 MB, free: 0.832 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.712e-05/0.3469, allocations: 32.75 kB / 438.2 MB, free: 0.8008 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005731/0.3475, allocations: 238.9 kB / 438.4 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.3475, allocations: 20.88 kB / 438.4 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.518e-05/0.3476, allocations: 20.38 kB / 438.5 MB, free: 0.5039 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009731/0.3486, allocations: 348.7 kB / 438.8 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.3486, allocations: 0 / 438.8 MB, free: 148 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.332e-05/0.3486, allocations: 8 kB / 438.8 MB, free: 140 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.3486, allocations: 8 kB / 438.8 MB, free: 132 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000857/0.3495, allocations: 281.7 kB / 439.1 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002038/0.3515, allocations: 0.9446 MB / 440 MB, free: 14.85 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009177/0.3525, allocations: 238.6 kB / 440.3 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003446/0.3528, allocations: 96.8 kB / 440.4 MB, free: 14.51 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.801e-05/0.3528, allocations: 3.984 kB / 440.4 MB, free: 14.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005397/0.3534, allocations: 194.7 kB / 440.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.222e-06/0.3534, allocations: 0 / 440.6 MB, free: 14.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.00115/0.3545, allocations: 313.3 kB / 440.9 MB, free: 13.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.641e-05/0.3546, allocations: 85.11 kB / 440.9 MB, free: 13.88 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003374/0.3549, allocations: 253 kB / 441.2 MB, free: 13.61 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.942e-05/0.355, allocations: 33.7 kB / 441.2 MB, free: 13.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001821/0.3552, allocations: 200 kB / 441.4 MB, free: 13.38 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.268e-05/0.3552, allocations: 47.56 kB / 441.5 MB, free: 13.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.3553, allocations: 53.66 kB / 441.5 MB, free: 13.27 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002058/0.3555, allocations: 334.8 kB / 441.8 MB, free: 12.93 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003974/0.3559, allocations: 133.8 kB / 442 MB, free: 12.79 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004674/0.3564, allocations: 239 kB / 442.2 MB, free: 12.51 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007721/0.3572, allocations: 314 kB / 442.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.3572, allocations: 0 / 442.5 MB, free: 12.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.000973/0.3581, allocations: 384.5 kB / 442.9 MB, free: 11.77 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.654e-05/0.3582, allocations: 34.05 kB / 442.9 MB, free: 11.73 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.3582, allocations: 8 kB / 442.9 MB, free: 11.72 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.055e-05/0.3582, allocations: 4 kB / 442.9 MB, free: 11.71 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003121/0.3585, allocations: 71.88 kB / 443 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.3586, allocations: 4 kB / 443 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003006/0.3589, allocations: 51.73 kB / 443.1 MB, free: 11.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.519e-05/0.3589, allocations: 12 kB / 443.1 MB, free: 11.58 MB / 350.1 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.000194/0.3591, allocations: 164.8 kB / 443.2 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.754e-05/0.3591, allocations: 19.86 kB / 443.3 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.087e-05/0.3592, allocations: 25.7 kB / 443.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.446e-06/0.3592, allocations: 0 / 443.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3592, allocations: 0 / 443.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.3592, allocations: 0 / 443.3 MB, free: 11.36 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002886/0.3595, allocations: 217.1 kB / 443.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3595, allocations: 0 / 443.5 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00027/0.3598, allocations: 47.95 kB / 443.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.3598, allocations: 0 / 443.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.3598, allocations: 3.984 kB / 443.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3598, allocations: 0 / 443.5 MB, free: 11.07 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-06/0.3598, allocations: 7.984 kB / 443.5 MB, free: 11.06 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/0.3609, allocations: 381 kB / 443.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.497e-05/0.3609, allocations: 15.89 kB / 443.9 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.557e-05/0.361, allocations: 8 kB / 443.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002622/0.3613, allocations: 32.02 kB / 444 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/0.3613, allocations: 15.98 kB / 444 MB, free: 10.6 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.3613, allocations: 3.984 kB / 444 MB, free: 10.6 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001983/0.3615, allocations: 180.5 kB / 444.2 MB, free: 10.43 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3615, allocations: 4 kB / 444.2 MB, free: 10.42 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003275/0.3619, allocations: 67.84 kB / 444.2 MB, free: 10.36 MB / 350.1 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.0001626/0.362, allocations: 99.19 kB / 444.3 MB, free: 10.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0009197/0.363, allocations: 320.8 kB / 444.7 MB, free: 9.918 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.363, allocations: 3.938 kB / 444.7 MB, free: 9.914 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003573/0.3633, allocations: 96.61 kB / 444.8 MB, free: 9.82 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.3637, allocations: 42.98 kB / 444.8 MB, free: 9.781 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00141/0.3651, allocations: 0.5412 MB / 445.3 MB, free: 9.215 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.3652, allocations: 138.9 kB / 445.5 MB, free: 9.059 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.3653, allocations: 26.28 kB / 445.5 MB, free: 9.035 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.188e-05/0.3654, allocations: 19.44 kB / 445.5 MB, free: 9.016 MB / 350.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3654, allocations: 0 / 445.5 MB, free: 9.016 MB / 350.1 MB Notification: Performance of Templates: time 0.008578/0.374, allocations: 3.468 MB / 449 MB, free: 5.609 MB / 350.1 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/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: 5.223957822003285]