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.000939/0.000939, allocations: 80.62 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.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.000978/0.000978, allocations: 145.2 kB / 25.6 MB, free: 8.93 MB / 18.57 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.9855/0.9855, allocations: 173.4 MB / 202.2 MB, free: 8.293 MB / 186.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.312e-06/1.312e-06, allocations: 0 / 269.2 MB, free: 9.738 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.031e-05/2.162e-05, allocations: 5.266 kB / 269.2 MB, free: 9.734 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003987/0.004008, allocations: 2.829 MB / 272.1 MB, free: 6.902 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001442/0.005451, allocations: 0.7121 MB / 272.8 MB, free: 6.188 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002213/0.005672, allocations: 9.406 kB / 272.8 MB, free: 6.18 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.005857, allocations: 43.56 kB / 272.8 MB, free: 6.137 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002418/0.006099, allocations: 103.8 kB / 272.9 MB, free: 6.035 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000346/0.006445, allocations: 114.2 kB / 273 MB, free: 5.926 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004513/0.006896, allocations: 402.3 kB / 273.4 MB, free: 5.531 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000208/0.007104, allocations: 91.59 kB / 273.5 MB, free: 5.438 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003504/0.007454, allocations: 223.4 kB / 273.7 MB, free: 5.219 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002058/0.00766, allocations: 135.6 kB / 273.9 MB, free: 5.086 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 5.76e-05/0.007718, allocations: 41.08 kB / 273.9 MB, free: 5.047 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.009e-05/0.007768, allocations: 40 kB / 273.9 MB, free: 5.008 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 7.532e-05/0.007843, allocations: 79.69 kB / 274 MB, free: 4.93 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001235/0.007967, allocations: 108.8 kB / 274.1 MB, free: 4.824 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003259/0.008292, allocations: 243.1 kB / 274.4 MB, free: 4.586 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.008295, allocations: 1 kB / 274.4 MB, free: 4.586 MB / 250.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.008296, allocations: 4 kB / 274.4 MB, free: 4.582 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.008302, allocations: 0 / 274.4 MB, free: 4.582 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.00103/0.009332, allocations: 0.6713 MB / 275 MB, free: 3.867 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.009369, allocations: 11.97 kB / 275.1 MB, free: 3.855 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.725e-05/0.009466, allocations: 52.7 kB / 275.1 MB, free: 3.805 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002981/0.009764, allocations: 229.1 kB / 275.3 MB, free: 3.555 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.618e-05/0.00979, allocations: 20.88 kB / 275.4 MB, free: 3.535 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.565e-05/0.009836, allocations: 24.38 kB / 275.4 MB, free: 3.512 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004307/0.01027, allocations: 263.2 kB / 275.6 MB, free: 3.234 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.01028, allocations: 192 / 275.6 MB, free: 3.234 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.564e-05/0.0103, allocations: 12.38 kB / 275.6 MB, free: 3.223 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.074e-05/0.01032, allocations: 7.938 kB / 275.7 MB, free: 3.215 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001611/0.01048, allocations: 71.44 kB / 275.7 MB, free: 3.148 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00164/0.01212, allocations: 1.01 MB / 276.7 MB, free: 2.07 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000289/0.01241, allocations: 111.1 kB / 276.8 MB, free: 1.949 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.78e-05/0.01246, allocations: 27.67 kB / 276.9 MB, free: 1.918 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.878e-05/0.01248, allocations: 4 kB / 276.9 MB, free: 1.914 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.01266, allocations: 138 kB / 277 MB, free: 1.75 MB / 250.7 MB Notification: Performance of pre-optimization done (n=12): time 1.663e-06/0.01266, allocations: 4 kB / 277 MB, free: 1.746 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002829/0.01294, allocations: 121.5 kB / 277.1 MB, free: 1.621 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.725e-05/0.01299, allocations: 85.11 kB / 277.2 MB, free: 1.52 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002207/0.01321, allocations: 284.2 kB / 277.5 MB, free: 1.219 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.459e-05/0.01324, allocations: 29.7 kB / 277.5 MB, free: 1.184 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001368/0.01337, allocations: 258.7 kB / 277.8 MB, free: 0.9258 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.01341, allocations: 43.61 kB / 277.8 MB, free: 0.8828 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.189e-05/0.01349, allocations: 51.34 kB / 277.9 MB, free: 0.8242 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.01364, allocations: 0.4962 MB / 278.4 MB, free: 324 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.135e-05/0.01372, allocations: 53.91 kB / 278.4 MB, free: 260 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001591/0.01388, allocations: 203.8 kB / 278.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002111/0.01409, allocations: 213.6 kB / 278.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.0141, allocations: 4.031 kB / 278.8 MB, free: 15.72 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003447/0.01444, allocations: 243.6 kB / 279.1 MB, free: 15.46 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.628e-05/0.01448, allocations: 29.7 kB / 279.1 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.01449, allocations: 7.984 kB / 279.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.0145, allocations: 4 kB / 279.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002151/0.01472, allocations: 64.25 kB / 279.2 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.01472, allocations: 7.938 kB / 279.2 MB, free: 15.35 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.0149, allocations: 43.77 kB / 279.2 MB, free: 15.3 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.01492, allocations: 8 kB / 279.2 MB, free: 15.3 MB / 266.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 0.0001226/0.01505, allocations: 176.4 kB / 279.4 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.74e-05/0.01508, allocations: 23.86 kB / 279.4 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.331e-05/0.01513, allocations: 21.78 kB / 279.4 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.01513, allocations: 3.984 kB / 279.4 MB, free: 15.06 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.01513, allocations: 7.984 kB / 279.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.01514, allocations: 4 kB / 279.5 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.01532, allocations: 177.1 kB / 279.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.01532, allocations: 0 / 279.6 MB, free: 14.85 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001432/0.01546, allocations: 39.91 kB / 279.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.524e-06/0.01547, allocations: 0 / 279.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.01548, allocations: 0 / 279.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.01548, allocations: 4 kB / 279.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.01548, allocations: 0 / 279.7 MB, free: 14.81 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002871/0.01577, allocations: 172.5 kB / 279.8 MB, free: 14.62 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.734e-05/0.01581, allocations: 31.81 kB / 279.9 MB, free: 14.59 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.223e-05/0.01584, allocations: 4 kB / 279.9 MB, free: 14.58 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.01596, allocations: 19.98 kB / 279.9 MB, free: 14.56 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.01601, allocations: 15.97 kB / 279.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.01602, allocations: 0 / 279.9 MB, free: 14.55 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.01614, allocations: 197.1 kB / 280.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01614, allocations: 0 / 280.1 MB, free: 14.36 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0003056/0.01645, allocations: 67.83 kB / 280.2 MB, free: 14.29 MB / 266.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 0.0001274/0.01658, allocations: 107.2 kB / 280.3 MB, free: 14.18 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002679/0.01684, allocations: 188.5 kB / 280.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.01685, allocations: 0 / 280.5 MB, free: 13.97 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.761e-05/0.01692, allocations: 35.67 kB / 280.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000285/0.01721, allocations: 45.16 kB / 280.5 MB, free: 13.89 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009805/0.01819, allocations: 470.9 kB / 281 MB, free: 13.4 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.76e-05/0.01825, allocations: 84.31 kB / 281.1 MB, free: 13.3 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.01835, allocations: 30.27 kB / 281.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/0.01853, allocations: 114.2 kB / 281.2 MB, free: 13.16 MB / 266.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01853, allocations: 4 kB / 281.2 MB, free: 13.15 MB / 266.7 MB Notification: Performance of Templates: time 0.007473/0.026, allocations: 3.423 MB / 284.7 MB, free: 9.805 MB / 266.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 -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.7339336681179702]