Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.002008/0.002008, allocations: 85.05 kB / 21.43 MB, free: 288 kB / 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.001976/0.001976, allocations: 164.2 kB / 24.7 MB, free: 3.543 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.302/1.302, allocations: 158.6 MB / 186.5 MB, free: 6.398 MB / 174.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.312e-06/1.312e-06, allocations: 0 / 299 MB, free: 8.699 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.707e-05/2.838e-05, allocations: 2.281 kB / 299 MB, free: 8.695 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003908/0.003937, allocations: 2.45 MB / 301.4 MB, free: 6.223 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.005364, allocations: 0.6864 MB / 302.1 MB, free: 5.527 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.005506, allocations: 0 / 302.1 MB, free: 5.527 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001636/0.00567, allocations: 35.64 kB / 302.2 MB, free: 5.492 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002159/0.005886, allocations: 103.2 kB / 302.3 MB, free: 5.391 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003129/0.006199, allocations: 91.81 kB / 302.3 MB, free: 5.301 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004197/0.006618, allocations: 326.5 kB / 302.7 MB, free: 4.98 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001858/0.006804, allocations: 64.83 kB / 302.7 MB, free: 4.922 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003242/0.007128, allocations: 183.5 kB / 302.9 MB, free: 4.742 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001905/0.007319, allocations: 111.6 kB / 303 MB, free: 4.633 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.719e-05/0.007376, allocations: 28 kB / 303 MB, free: 4.605 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.997e-05/0.007426, allocations: 28 kB / 303.1 MB, free: 4.578 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.051e-05/0.007506, allocations: 59.75 kB / 303.1 MB, free: 4.52 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.007644, allocations: 103.7 kB / 303.2 MB, free: 4.418 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004653/0.00811, allocations: 311 kB / 303.5 MB, free: 4.113 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.008115, allocations: 0 / 303.5 MB, free: 4.113 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.008117, allocations: 0 / 303.5 MB, free: 4.113 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.008126, allocations: 0 / 303.5 MB, free: 4.113 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001392/0.009518, allocations: 0.5504 MB / 304.1 MB, free: 3.523 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.656e-05/0.009565, allocations: 11.98 kB / 304.1 MB, free: 3.512 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.064e-05/0.009655, allocations: 24.8 kB / 304.1 MB, free: 3.488 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004848/0.01014, allocations: 216.8 kB / 304.3 MB, free: 3.25 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.852e-05/0.01017, allocations: 20.73 kB / 304.4 MB, free: 3.23 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.793e-05/0.01022, allocations: 16.38 kB / 304.4 MB, free: 3.215 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006616/0.01088, allocations: 262.7 kB / 304.6 MB, free: 2.949 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.01089, allocations: 192 / 304.6 MB, free: 2.949 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.113e-05/0.01092, allocations: 8.375 kB / 304.6 MB, free: 2.941 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.01094, allocations: 11.94 kB / 304.6 MB, free: 2.93 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008275/0.01177, allocations: 243.6 kB / 304.9 MB, free: 2.691 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.01324, allocations: 0.6899 MB / 305.6 MB, free: 1.949 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008575/0.0141, allocations: 214.5 kB / 305.8 MB, free: 1.73 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000307/0.0144, allocations: 96.72 kB / 305.9 MB, free: 1.633 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.01443, allocations: 4 kB / 305.9 MB, free: 1.629 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004561/0.01488, allocations: 182.7 kB / 306.1 MB, free: 1.426 MB / 286.1 MB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.01488, allocations: 0 / 306.1 MB, free: 1.426 MB / 286.1 MB Notification: Performance of matching and sorting (n=13): time 0.001063/0.01595, allocations: 297.3 kB / 306.4 MB, free: 1.129 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.103e-05/0.01604, allocations: 77.11 kB / 306.4 MB, free: 1.035 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.01633, allocations: 231.3 kB / 306.7 MB, free: 0.8008 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.314e-05/0.01637, allocations: 29.7 kB / 306.7 MB, free: 0.7656 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001525/0.01652, allocations: 168.1 kB / 306.8 MB, free: 0.5977 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.199e-05/0.01657, allocations: 51.62 kB / 306.9 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.86e-05/0.01666, allocations: 41.7 kB / 306.9 MB, free: 0.5 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.01683, allocations: 326.8 kB / 307.3 MB, free: 176 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000352/0.01718, allocations: 122.5 kB / 307.4 MB, free: 44 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004405/0.01762, allocations: 198.2 kB / 307.6 MB, free: 15.81 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006857/0.01831, allocations: 246.3 kB / 307.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01831, allocations: 0 / 307.8 MB, free: 15.55 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00085/0.01916, allocations: 344.6 kB / 308.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.899e-05/0.0192, allocations: 29.7 kB / 308.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.01921, allocations: 8.125 kB / 308.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.882e-05/0.01923, allocations: 8 kB / 308.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002859/0.01951, allocations: 55.89 kB / 308.2 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.01952, allocations: 4 kB / 308.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002779/0.0198, allocations: 43.84 kB / 308.3 MB, free: 15.04 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.01982, allocations: 7.938 kB / 308.3 MB, free: 15.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003843/0.02021, allocations: 209.8 kB / 308.5 MB, free: 14.82 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000343/0.02055, allocations: 194 kB / 308.7 MB, free: 14.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005353/0.02108, allocations: 222.4 kB / 308.9 MB, free: 14.35 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.563e-06/0.02109, allocations: 0 / 308.9 MB, free: 14.35 MB / 302.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0007238/0.02181, allocations: 312.8 kB / 309.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.901e-05/0.02185, allocations: 45.67 kB / 309.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-06/0.02185, allocations: 0 / 309.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.221e-06/0.02186, allocations: 4 kB / 309.3 MB, free: 13.97 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000225/0.02208, allocations: 51.89 kB / 309.3 MB, free: 13.92 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.731e-06/0.02209, allocations: 7.938 kB / 309.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002513/0.02234, allocations: 31.92 kB / 309.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.847e-05/0.02236, allocations: 8 kB / 309.4 MB, free: 13.87 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (22): * Single equations (assignments): 21 * 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.0001504/0.02251, allocations: 200.1 kB / 309.6 MB, free: 13.67 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.223e-05/0.02255, allocations: 31.78 kB / 309.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.704e-05/0.02262, allocations: 21.45 kB / 309.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.02262, allocations: 0 / 309.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.02263, allocations: 0 / 309.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.02263, allocations: 0 / 309.6 MB, free: 13.61 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000239/0.02287, allocations: 193.2 kB / 309.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.02287, allocations: 4 kB / 309.8 MB, free: 13.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002407/0.02311, allocations: 39.91 kB / 309.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.02312, allocations: 7.984 kB / 309.8 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.735e-05/0.02313, allocations: 3.938 kB / 309.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.536e-06/0.02314, allocations: 4 kB / 309.9 MB, free: 13.34 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.899e-06/0.02314, allocations: 4 kB / 309.9 MB, free: 13.33 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001029/0.02417, allocations: 341.3 kB / 310.2 MB, free: 12.98 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.702e-05/0.02422, allocations: 15.94 kB / 310.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.1e-05/0.02426, allocations: 7.922 kB / 310.2 MB, free: 12.96 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.02447, allocations: 27.97 kB / 310.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.242e-05/0.02457, allocations: 19.97 kB / 310.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.181e-05/0.02458, allocations: 0 / 310.3 MB, free: 12.91 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001798/0.02476, allocations: 172.2 kB / 310.4 MB, free: 12.74 MB / 302.1 MB Notification: Performance of sort global known variables: time 9e-08/0.02476, allocations: 0 / 310.4 MB, free: 12.74 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004239/0.02518, allocations: 115.8 kB / 310.5 MB, free: 12.63 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (13): * Single equations (assignments): 11 * 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.0001591/0.02534, allocations: 95.19 kB / 310.6 MB, free: 12.53 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.02648, allocations: 486.7 kB / 311.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.02648, allocations: 0 / 311.1 MB, free: 12.02 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003197/0.0268, allocations: 87.92 kB / 311.2 MB, free: 11.93 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003358/0.02714, allocations: 49.12 kB / 311.2 MB, free: 11.88 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001042/0.02818, allocations: 438.5 kB / 311.7 MB, free: 11.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000129/0.02831, allocations: 126.2 kB / 311.8 MB, free: 11.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001093/0.02842, allocations: 25.94 kB / 311.8 MB, free: 11.27 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.047e-05/0.02849, allocations: 20.5 kB / 311.8 MB, free: 11.25 MB / 302.1 MB Notification: Performance of SimCode: time 3.2e-07/0.02849, allocations: 3.938 kB / 311.8 MB, free: 11.24 MB / 302.1 MB Notification: Performance of Templates: time 0.007309/0.0358, allocations: 3.083 MB / 314.9 MB, free: 8.16 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.3405886478722095]