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.001041/0.001041, allocations: 76.17 kB / 9.933 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001499/0.00254, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.001054/0.001054, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001218/0.002271, allocations: 455.6 kB / 11.71 MB, free: 2.461 MB / 13.93 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.9654/0.9654, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09197/1.057, allocations: 53.66 MB / 243.3 MB, free: 15.57 MB / 250.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.784e-06/1.784e-06, allocations: 0 / 244.6 MB, free: 14.28 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.189e-05, allocations: 2.312 kB / 244.6 MB, free: 14.28 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004726/0.004747, allocations: 2.916 MB / 247.5 MB, free: 11.34 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.006349, allocations: 0.7553 MB / 248.2 MB, free: 10.58 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002009/0.006549, allocations: 7.938 kB / 248.2 MB, free: 10.57 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001139/0.006663, allocations: 43.56 kB / 248.3 MB, free: 10.53 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001758/0.006839, allocations: 111.1 kB / 248.4 MB, free: 10.42 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002353/0.007074, allocations: 115.7 kB / 248.5 MB, free: 10.3 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003702/0.007445, allocations: 402.4 kB / 248.9 MB, free: 9.91 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001823/0.007627, allocations: 82.3 kB / 249 MB, free: 9.824 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004073/0.008034, allocations: 283.8 kB / 249.3 MB, free: 9.547 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001581/0.008192, allocations: 127.7 kB / 249.4 MB, free: 9.422 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 3.968e-05/0.008232, allocations: 40 kB / 249.4 MB, free: 9.383 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.677e-05/0.008269, allocations: 36 kB / 249.5 MB, free: 9.348 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 4.371e-05/0.008312, allocations: 55.81 kB / 249.5 MB, free: 9.293 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 8.503e-05/0.008397, allocations: 95.81 kB / 249.6 MB, free: 9.199 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.008646, allocations: 227.2 kB / 249.8 MB, free: 8.977 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-05/0.008661, allocations: 0 / 249.8 MB, free: 8.977 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.352e-06/0.008662, allocations: 0 / 249.8 MB, free: 8.977 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.518e-05/0.008677, allocations: 0 / 249.8 MB, free: 8.977 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.0008291/0.009506, allocations: 0.6114 MB / 250.4 MB, free: 8.332 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.009545, allocations: 8.031 kB / 250.4 MB, free: 8.324 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.673e-05/0.009611, allocations: 40.91 kB / 250.5 MB, free: 8.285 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/0.009834, allocations: 186.3 kB / 250.7 MB, free: 8.078 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.009852, allocations: 24.81 kB / 250.7 MB, free: 8.055 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.009883, allocations: 24.38 kB / 250.7 MB, free: 8.031 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002877/0.01017, allocations: 261.6 kB / 251 MB, free: 7.754 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.01018, allocations: 192 / 251 MB, free: 7.754 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.558e-05/0.0102, allocations: 8.375 kB / 251 MB, free: 7.746 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/0.0102, allocations: 11.94 kB / 251 MB, free: 7.734 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.718e-05/0.0103, allocations: 63.47 kB / 251.1 MB, free: 7.676 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008388/0.01114, allocations: 0.7755 MB / 251.8 MB, free: 6.852 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.01137, allocations: 86.48 kB / 251.9 MB, free: 6.758 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.271e-05/0.01141, allocations: 36.77 kB / 251.9 MB, free: 6.719 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.01143, allocations: 4 kB / 252 MB, free: 6.715 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.01158, allocations: 130.4 kB / 252.1 MB, free: 6.566 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.042e-06/0.01159, allocations: 0 / 252.1 MB, free: 6.566 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001635/0.01175, allocations: 101.5 kB / 252.2 MB, free: 6.461 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.173e-05/0.01178, allocations: 55.41 kB / 252.2 MB, free: 6.395 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.01191, allocations: 232.9 kB / 252.5 MB, free: 6.152 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.671e-05/0.01193, allocations: 29.7 kB / 252.5 MB, free: 6.117 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003333/0.01226, allocations: 187.9 kB / 252.7 MB, free: 5.926 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.653e-05/0.01229, allocations: 43.67 kB / 252.7 MB, free: 5.883 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.007e-05/0.01235, allocations: 53.64 kB / 252.8 MB, free: 5.824 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.926e-05/0.01242, allocations: 330.8 kB / 253.1 MB, free: 5.492 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.241e-05/0.01248, allocations: 49.92 kB / 253.1 MB, free: 5.434 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.34e-05/0.01256, allocations: 159 kB / 253.3 MB, free: 5.227 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.01268, allocations: 179.4 kB / 253.5 MB, free: 5.012 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.01268, allocations: 3.938 kB / 253.5 MB, free: 5.008 MB / 250.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0001681/0.01285, allocations: 201.1 kB / 253.7 MB, free: 4.793 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.535e-05/0.01289, allocations: 45.75 kB / 253.7 MB, free: 4.742 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.01289, allocations: 0 / 253.7 MB, free: 4.742 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.708e-06/0.0129, allocations: 4 kB / 253.7 MB, free: 4.738 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001801/0.01308, allocations: 71.89 kB / 253.8 MB, free: 4.668 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.01308, allocations: 7.938 kB / 253.8 MB, free: 4.66 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001071/0.01319, allocations: 35.81 kB / 253.8 MB, free: 4.625 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.125e-05/0.0132, allocations: 8 kB / 253.8 MB, free: 4.617 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 7.541e-05/0.01328, allocations: 137.7 kB / 254 MB, free: 4.473 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.424e-05/0.0133, allocations: 15.92 kB / 254 MB, free: 4.457 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.01334, allocations: 29.77 kB / 254 MB, free: 4.43 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.01334, allocations: 0 / 254 MB, free: 4.43 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.01334, allocations: 0 / 254 MB, free: 4.43 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.115e-06/0.01335, allocations: 0 / 254 MB, free: 4.43 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.01345, allocations: 141.7 kB / 254.2 MB, free: 4.273 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01346, allocations: 4 kB / 254.2 MB, free: 4.27 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/0.01358, allocations: 51.89 kB / 254.2 MB, free: 4.219 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.267e-05/0.0136, allocations: 15.89 kB / 254.2 MB, free: 4.203 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.01361, allocations: 4 kB / 254.2 MB, free: 4.199 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.446e-06/0.01361, allocations: 0 / 254.2 MB, free: 4.199 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.01362, allocations: 0 / 254.2 MB, free: 4.199 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.01362, allocations: 0 / 254.2 MB, free: 4.199 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.01379, allocations: 140.9 kB / 254.4 MB, free: 4.043 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.01381, allocations: 4 kB / 254.4 MB, free: 4.039 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.081e-05/0.01388, allocations: 19.98 kB / 254.4 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.076e-05/0.01392, allocations: 23.94 kB / 254.4 MB, free: 3.996 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/0.01393, allocations: 4 kB / 254.4 MB, free: 3.992 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.807e-05/0.01398, allocations: 78.77 kB / 254.5 MB, free: 3.914 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01398, allocations: 0 / 254.5 MB, free: 3.914 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001673/0.01415, allocations: 63.89 kB / 254.6 MB, free: 3.852 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 9.414e-05/0.01425, allocations: 76.42 kB / 254.6 MB, free: 3.77 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001861/0.01443, allocations: 170.3 kB / 254.8 MB, free: 3.582 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.989e-06/0.01444, allocations: 8.188 kB / 254.8 MB, free: 3.574 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 4.876e-05/0.01449, allocations: 41.31 kB / 254.8 MB, free: 3.531 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.01467, allocations: 75.3 kB / 254.9 MB, free: 3.461 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.01616, allocations: 468.4 kB / 255.4 MB, free: 2.977 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.348e-05/0.01621, allocations: 80.31 kB / 255.5 MB, free: 2.879 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.18e-05/0.0163, allocations: 26.3 kB / 255.5 MB, free: 2.855 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.01643, allocations: 95.34 kB / 255.6 MB, free: 2.762 MB / 250.7 MB Notification: Performance of SimCode: time 9.41e-07/0.01643, allocations: 0 / 255.6 MB, free: 2.762 MB / 250.7 MB Notification: Performance of Templates: time 0.005253/0.02168, allocations: 3.423 MB / 259 MB, free: 15.41 MB / 266.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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 240] 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","",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.5946412486955523]