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.001195/0.001195, allocations: 84.3 kB / 22.21 MB, free: 2.289 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.001398/0.001398, allocations: 174.5 kB / 25.6 MB, free: 8.926 MB / 18.57 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.049/1.049, allocations: 158.6 MB / 187.5 MB, free: 2.805 MB / 170.7 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.643e-06/1.643e-06, allocations: 0 / 251.5 MB, free: 7.219 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.394e-05, allocations: 2.312 kB / 251.5 MB, free: 7.215 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.005607/0.005631, allocations: 2.571 MB / 254.1 MB, free: 4.629 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.004306/0.009937, allocations: 0.7058 MB / 254.8 MB, free: 3.914 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001527/0.01009, allocations: 4 kB / 254.8 MB, free: 3.91 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.01022, allocations: 39.64 kB / 254.8 MB, free: 3.871 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.01041, allocations: 91.2 kB / 254.9 MB, free: 3.781 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003056/0.01072, allocations: 95.75 kB / 255 MB, free: 3.688 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003662/0.01108, allocations: 334.4 kB / 255.3 MB, free: 3.355 MB / 234.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001552/0.01124, allocations: 60.89 kB / 255.4 MB, free: 3.293 MB / 234.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003085/0.01155, allocations: 187.5 kB / 255.6 MB, free: 3.109 MB / 234.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001519/0.0117, allocations: 115.7 kB / 255.7 MB, free: 2.996 MB / 234.7 MB Notification: Performance of NFPackage.collectConstants: time 4.357e-05/0.01174, allocations: 28 kB / 255.7 MB, free: 2.969 MB / 234.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.965e-05/0.01178, allocations: 28 kB / 255.7 MB, free: 2.941 MB / 234.7 MB Notification: Performance of NFScalarize.scalarize: time 5.174e-05/0.01183, allocations: 59.75 kB / 255.8 MB, free: 2.883 MB / 234.7 MB Notification: Performance of NFVerifyModel.verify: time 9.586e-05/0.01193, allocations: 95.75 kB / 255.9 MB, free: 2.789 MB / 234.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.01218, allocations: 199.2 kB / 256.1 MB, free: 2.594 MB / 234.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.01219, allocations: 3.984 kB / 256.1 MB, free: 2.59 MB / 234.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.01219, allocations: 0 / 256.1 MB, free: 2.59 MB / 234.7 MB Notification: Performance of Transformations before backend: time 3.977e-06/0.01219, allocations: 0 / 256.1 MB, free: 2.59 MB / 234.7 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.003808/0.016, allocations: 0.6191 MB / 256.7 MB, free: 1.926 MB / 234.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.01604, allocations: 15.98 kB / 256.7 MB, free: 1.91 MB / 234.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.328e-05/0.01611, allocations: 48.72 kB / 256.8 MB, free: 1.863 MB / 234.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002493/0.01636, allocations: 204.1 kB / 257 MB, free: 1.637 MB / 234.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.01638, allocations: 16.75 kB / 257 MB, free: 1.621 MB / 234.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.01642, allocations: 16.38 kB / 257 MB, free: 1.605 MB / 234.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00031/0.01673, allocations: 195.5 kB / 257.2 MB, free: 1.402 MB / 234.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.01674, allocations: 192 / 257.2 MB, free: 1.402 MB / 234.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.881e-05/0.01675, allocations: 8.375 kB / 257.2 MB, free: 1.395 MB / 234.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.117e-06/0.01676, allocations: 7.938 kB / 257.2 MB, free: 1.387 MB / 234.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00012/0.01688, allocations: 67.44 kB / 257.3 MB, free: 1.32 MB / 234.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009393/0.01782, allocations: 0.6819 MB / 258 MB, free: 0.5938 MB / 234.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.01809, allocations: 115.1 kB / 258.1 MB, free: 480 kB / 234.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.335e-05/0.01815, allocations: 35.66 kB / 258.1 MB, free: 440 kB / 234.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.112e-05/0.01817, allocations: 0 / 258.1 MB, free: 440 kB / 234.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000184/0.01835, allocations: 146 kB / 258.3 MB, free: 264 kB / 234.7 MB Notification: Performance of pre-optimization done (n=13): time 1.172e-06/0.01835, allocations: 4 kB / 258.3 MB, free: 260 kB / 234.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002545/0.01861, allocations: 121.5 kB / 258.4 MB, free: 132 kB / 234.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.01865, allocations: 77.11 kB / 258.4 MB, free: 36 kB / 234.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.01884, allocations: 269.8 kB / 258.7 MB, free: 15.75 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.305e-05/0.01886, allocations: 29.7 kB / 258.7 MB, free: 15.72 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001101/0.01897, allocations: 214.8 kB / 259 MB, free: 15.5 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.002e-05/0.019, allocations: 43.62 kB / 259 MB, free: 15.46 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.529e-05/0.01906, allocations: 51.34 kB / 259 MB, free: 15.4 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001141/0.01917, allocations: 0.5039 MB / 259.5 MB, free: 14.89 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.811e-05/0.01923, allocations: 53.38 kB / 259.6 MB, free: 14.82 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.375e-05/0.01931, allocations: 160.8 kB / 259.8 MB, free: 14.62 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001352/0.01945, allocations: 150.9 kB / 259.9 MB, free: 14.44 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.01945, allocations: 4 kB / 259.9 MB, free: 14.44 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002296/0.01968, allocations: 224.8 kB / 260.1 MB, free: 14.2 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.729e-05/0.01971, allocations: 29.7 kB / 260.2 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.01971, allocations: 4 kB / 260.2 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.278e-05/0.01973, allocations: 3.938 kB / 260.2 MB, free: 14.16 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.01987, allocations: 55.91 kB / 260.2 MB, free: 14.1 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.01987, allocations: 7.938 kB / 260.2 MB, free: 14.09 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001019/0.01997, allocations: 31.88 kB / 260.3 MB, free: 14.06 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.337e-05/0.01999, allocations: 7.984 kB / 260.3 MB, free: 14.05 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001035/0.02009, allocations: 176.6 kB / 260.4 MB, free: 13.87 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 7.889e-05/0.02017, allocations: 156.9 kB / 260.6 MB, free: 13.67 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001014/0.02027, allocations: 151.3 kB / 260.7 MB, free: 13.49 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.01e-07/0.02027, allocations: 0 / 260.7 MB, free: 13.49 MB / 250.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0001818/0.02045, allocations: 220.3 kB / 261 MB, free: 13.26 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.02047, allocations: 33.7 kB / 261 MB, free: 13.22 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.194e-06/0.02047, allocations: 0 / 261 MB, free: 13.22 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.388e-06/0.02047, allocations: 7.938 kB / 261 MB, free: 13.21 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.821e-05/0.02057, allocations: 55.91 kB / 261.1 MB, free: 13.16 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.097e-06/0.02058, allocations: 4 kB / 261.1 MB, free: 13.15 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.447e-05/0.02066, allocations: 23.94 kB / 261.1 MB, free: 13.13 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.02067, allocations: 11.98 kB / 261.1 MB, free: 13.12 MB / 250.7 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.0001001/0.02077, allocations: 284 kB / 261.4 MB, free: 12.83 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.523e-05/0.02079, allocations: 27.86 kB / 261.4 MB, free: 12.8 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.02083, allocations: 21.41 kB / 261.4 MB, free: 12.78 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.908e-06/0.02083, allocations: 7.984 kB / 261.4 MB, free: 12.77 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.043e-06/0.02084, allocations: 0 / 261.4 MB, free: 12.77 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.02084, allocations: 3.984 kB / 261.4 MB, free: 12.77 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.02098, allocations: 153.2 kB / 261.6 MB, free: 12.59 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.02098, allocations: 0 / 261.6 MB, free: 12.59 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.606e-05/0.02107, allocations: 39.97 kB / 261.6 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.02108, allocations: 4 kB / 261.6 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.157e-06/0.02109, allocations: 0 / 261.6 MB, free: 12.55 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.02109, allocations: 3.938 kB / 261.6 MB, free: 12.54 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.02109, allocations: 3.938 kB / 261.6 MB, free: 12.54 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002252/0.02132, allocations: 180 kB / 261.8 MB, free: 12.34 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.247e-05/0.02135, allocations: 15.84 kB / 261.8 MB, free: 12.33 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.02137, allocations: 8 kB / 261.8 MB, free: 12.32 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.037e-05/0.02145, allocations: 19.97 kB / 261.8 MB, free: 12.3 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.642e-05/0.0215, allocations: 19.91 kB / 261.9 MB, free: 12.28 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.892e-06/0.02151, allocations: 32 / 261.9 MB, free: 12.28 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.659e-05/0.02159, allocations: 196.3 kB / 262.1 MB, free: 12.09 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.02159, allocations: 0 / 262.1 MB, free: 12.09 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0002516/0.02184, allocations: 111.7 kB / 262.2 MB, free: 11.98 MB / 250.7 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 9.26e-05/0.02194, allocations: 95.19 kB / 262.3 MB, free: 11.88 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0002607/0.0222, allocations: 321.1 kB / 262.6 MB, free: 11.52 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.0222, allocations: 0.75 kB / 262.6 MB, free: 11.52 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.682e-05/0.02227, allocations: 39.66 kB / 262.6 MB, free: 11.48 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/0.02254, allocations: 52.64 kB / 262.7 MB, free: 11.43 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009029/0.02344, allocations: 433.6 kB / 263.1 MB, free: 10.98 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.96e-05/0.0235, allocations: 80.33 kB / 263.2 MB, free: 10.88 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 0.0001145/0.02361, allocations: 25.94 kB / 263.2 MB, free: 10.86 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001775/0.02379, allocations: 118.2 kB / 263.3 MB, free: 10.74 MB / 250.7 MB Notification: Performance of SimCode: time 1.362e-06/0.02379, allocations: 0 / 263.3 MB, free: 10.74 MB / 250.7 MB Notification: Performance of Templates: time 0.005413/0.0292, allocations: 3.384 MB / 266.7 MB, free: 7.379 MB / 250.7 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=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 240] 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","",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.9737441651523113]