Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007649/0.0007649, allocations: 76.48 kB / 9.931 MB, free: 0.7617 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001106/0.001871, allocations: 449.7 kB / 10.37 MB, free: 332 kB / 10.45 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0006812/0.0006812, allocations: 148.9 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009289/0.00161, allocations: 459.6 kB / 11.69 MB, free: 2.48 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9778/0.9778, allocations: 173.4 MB / 185.8 MB, free: 8.98 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08954/1.067, allocations: 52.49 MB / 238.3 MB, free: 4.43 MB / 234.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 3.938 kB / 239.6 MB, free: 3.137 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.859e-05/3.018e-05, allocations: 3.859 kB / 239.6 MB, free: 3.133 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003105/0.003135, allocations: 2.889 MB / 242.5 MB, free: 236 kB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001172/0.004307, allocations: 0.7244 MB / 243.2 MB, free: 15.5 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001487/0.004455, allocations: 11.94 kB / 243.2 MB, free: 15.49 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.004558, allocations: 51.5 kB / 243.3 MB, free: 15.44 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001654/0.004724, allocations: 95.19 kB / 243.4 MB, free: 15.34 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.004969, allocations: 127.7 kB / 243.5 MB, free: 15.22 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003728/0.005342, allocations: 398.4 kB / 243.9 MB, free: 14.83 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001621/0.005504, allocations: 86.3 kB / 244 MB, free: 14.74 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00035/0.005854, allocations: 272 kB / 244.2 MB, free: 14.47 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000153/0.006007, allocations: 131.6 kB / 244.4 MB, free: 14.34 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.789e-05/0.006055, allocations: 40 kB / 244.4 MB, free: 14.3 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.474e-05/0.006089, allocations: 36 kB / 244.4 MB, free: 14.27 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.587e-05/0.006135, allocations: 55.81 kB / 244.5 MB, free: 14.21 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.739e-05/0.006223, allocations: 95.81 kB / 244.6 MB, free: 14.12 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002454/0.006468, allocations: 219.3 kB / 244.8 MB, free: 13.91 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.397e-05/0.006482, allocations: 4 kB / 244.8 MB, free: 13.9 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.006483, allocations: 0 / 244.8 MB, free: 13.9 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.494e-05/0.006498, allocations: 3.984 kB / 244.8 MB, free: 13.9 MB / 250.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.0009527/0.007451, allocations: 0.5919 MB / 245.4 MB, free: 13.27 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.07e-05/0.007481, allocations: 15.89 kB / 245.4 MB, free: 13.25 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.836e-05/0.00755, allocations: 44.84 kB / 245.4 MB, free: 13.21 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.007816, allocations: 194.2 kB / 245.6 MB, free: 13 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.007836, allocations: 12.88 kB / 245.6 MB, free: 12.98 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.375e-05/0.007869, allocations: 24.38 kB / 245.7 MB, free: 12.96 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003002/0.00817, allocations: 261.6 kB / 245.9 MB, free: 12.68 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.008178, allocations: 4.125 kB / 245.9 MB, free: 12.68 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.84e-05/0.008196, allocations: 12.38 kB / 245.9 MB, free: 12.67 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.008204, allocations: 7.938 kB / 246 MB, free: 12.66 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001234/0.008328, allocations: 67.47 kB / 246 MB, free: 12.6 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009774/0.009305, allocations: 0.7639 MB / 246.8 MB, free: 11.79 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002368/0.009542, allocations: 98.41 kB / 246.9 MB, free: 11.68 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.579e-05/0.009578, allocations: 28.84 kB / 246.9 MB, free: 11.65 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.0096, allocations: 0 / 246.9 MB, free: 11.65 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.009751, allocations: 126.7 kB / 247 MB, free: 11.5 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.673e-06/0.009753, allocations: 0 / 247 MB, free: 11.5 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001848/0.009938, allocations: 89.66 kB / 247.1 MB, free: 11.41 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.602e-05/0.009974, allocations: 63.33 kB / 247.2 MB, free: 11.33 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.01012, allocations: 236.8 kB / 247.4 MB, free: 11.08 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.01014, allocations: 29.7 kB / 247.4 MB, free: 11.05 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.153e-05/0.01022, allocations: 191.9 kB / 247.6 MB, free: 10.86 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.01025, allocations: 43.67 kB / 247.7 MB, free: 10.81 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.603e-05/0.0103, allocations: 41.69 kB / 247.7 MB, free: 10.77 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 8.412e-05/0.01039, allocations: 338.8 kB / 248 MB, free: 10.43 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.868e-05/0.01044, allocations: 49.92 kB / 248.1 MB, free: 10.37 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.636e-05/0.01052, allocations: 155 kB / 248.2 MB, free: 10.16 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.01066, allocations: 179.2 kB / 248.4 MB, free: 9.949 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.01066, allocations: 3.938 kB / 248.4 MB, free: 9.945 MB / 250.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001828/0.01084, allocations: 208.9 kB / 248.6 MB, free: 9.723 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.681e-05/0.01088, allocations: 33.7 kB / 248.7 MB, free: 9.684 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.01089, allocations: 4 kB / 248.7 MB, free: 9.68 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.0109, allocations: 4 kB / 248.7 MB, free: 9.676 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000203/0.0111, allocations: 71.88 kB / 248.7 MB, free: 9.605 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.01111, allocations: 7.984 kB / 248.7 MB, free: 9.598 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.01122, allocations: 48.02 kB / 248.8 MB, free: 9.551 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.01123, allocations: 11.98 kB / 248.8 MB, free: 9.539 MB / 250.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 8.696e-05/0.01132, allocations: 129.7 kB / 248.9 MB, free: 9.402 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.162e-05/0.01134, allocations: 19.98 kB / 248.9 MB, free: 9.383 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.428e-05/0.01138, allocations: 21.77 kB / 249 MB, free: 9.359 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.01138, allocations: 0 / 249 MB, free: 9.359 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.01138, allocations: 0 / 249 MB, free: 9.359 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.01139, allocations: 4 kB / 249 MB, free: 9.355 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000126/0.01151, allocations: 141.8 kB / 249.1 MB, free: 9.199 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.01151, allocations: 3.938 kB / 249.1 MB, free: 9.195 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001277/0.01164, allocations: 47.89 kB / 249.2 MB, free: 9.148 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.028e-05/0.01167, allocations: 23.8 kB / 249.2 MB, free: 9.125 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.01167, allocations: 0 / 249.2 MB, free: 9.125 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.026e-06/0.01168, allocations: 0 / 249.2 MB, free: 9.125 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.01169, allocations: 3.938 kB / 249.2 MB, free: 9.121 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01169, allocations: 0 / 249.2 MB, free: 9.121 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.01187, allocations: 133 kB / 249.3 MB, free: 8.973 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.01189, allocations: 0 / 249.3 MB, free: 8.973 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.759e-05/0.01197, allocations: 24.02 kB / 249.3 MB, free: 8.949 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.917e-05/0.01202, allocations: 19.91 kB / 249.4 MB, free: 8.93 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.01203, allocations: 4 kB / 249.4 MB, free: 8.926 MB / 250.7 MB Notification: Performance of sorting global known variables: time 6.028e-05/0.01209, allocations: 74.78 kB / 249.4 MB, free: 8.855 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01209, allocations: 0 / 249.4 MB, free: 8.855 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.000179/0.01227, allocations: 67.84 kB / 249.5 MB, free: 8.789 MB / 250.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 8.672e-05/0.01235, allocations: 84.41 kB / 249.6 MB, free: 8.699 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001769/0.01253, allocations: 174.3 kB / 249.8 MB, free: 8.508 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.01254, allocations: 4 kB / 249.8 MB, free: 8.504 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.605e-05/0.0126, allocations: 40.78 kB / 249.8 MB, free: 8.461 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000184/0.01278, allocations: 61.17 kB / 249.9 MB, free: 8.402 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.01427, allocations: 473.2 kB / 250.3 MB, free: 7.91 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.208e-05/0.01432, allocations: 84.25 kB / 250.4 MB, free: 7.809 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 8.021e-05/0.0144, allocations: 26.28 kB / 250.4 MB, free: 7.781 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.01453, allocations: 103.3 kB / 250.5 MB, free: 7.68 MB / 250.7 MB Notification: Performance of SimCode: time 6.31e-07/0.01453, allocations: 0 / 250.5 MB, free: 7.68 MB / 250.7 MB Notification: Performance of Templates: time 0.00545/0.01998, allocations: 3.421 MB / 254 MB, free: 4.324 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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.6528738932684064]