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.00114/0.00114, allocations: 83.89 kB / 21.19 MB, free: 3.383 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.00113/0.00113, allocations: 141.1 kB / 24.54 MB, free: 36 kB / 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.9884/0.9884, allocations: 173.3 MB / 201.1 MB, free: 8.48 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 2.555e-06/2.555e-06, allocations: 0 / 268 MB, free: 6.105 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.711e-05/3.967e-05, allocations: 2.312 kB / 268 MB, free: 6.102 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004376/0.004416, allocations: 2.868 MB / 270.9 MB, free: 3.219 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009408/0.005356, allocations: 0.7011 MB / 271.6 MB, free: 2.512 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001319/0.005488, allocations: 4 kB / 271.6 MB, free: 2.508 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001463/0.005635, allocations: 51.45 kB / 271.6 MB, free: 2.457 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.005785, allocations: 103.1 kB / 271.8 MB, free: 2.355 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002654/0.00605, allocations: 119.8 kB / 271.9 MB, free: 2.238 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003117/0.006362, allocations: 394.4 kB / 272.3 MB, free: 1.852 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001923/0.006554, allocations: 95.58 kB / 272.3 MB, free: 1.754 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002369/0.006791, allocations: 227.4 kB / 272.6 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001644/0.006955, allocations: 131.6 kB / 272.7 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.466e-05/0.007, allocations: 40 kB / 272.7 MB, free: 1.363 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.941e-05/0.00704, allocations: 40 kB / 272.8 MB, free: 1.324 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.682e-05/0.007096, allocations: 71.73 kB / 272.8 MB, free: 1.254 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 9.29e-05/0.007189, allocations: 119.7 kB / 273 MB, free: 1.137 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.007443, allocations: 247.1 kB / 273.2 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.785e-06/0.007445, allocations: 0 / 273.2 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.007447, allocations: 0 / 273.2 MB, free: 0.8945 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.85e-06/0.007451, allocations: 4 kB / 273.2 MB, free: 0.8906 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.0008448/0.008296, allocations: 0.6546 MB / 273.9 MB, free: 196 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.008335, allocations: 12.03 kB / 273.9 MB, free: 184 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.145e-05/0.008416, allocations: 52.7 kB / 273.9 MB, free: 132 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002968/0.008713, allocations: 240.9 kB / 274.2 MB, free: 15.87 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.834e-05/0.008731, allocations: 16.88 kB / 274.2 MB, free: 15.85 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.486e-05/0.008776, allocations: 28.36 kB / 274.2 MB, free: 15.82 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003848/0.009161, allocations: 275.4 kB / 274.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.00917, allocations: 192 / 274.5 MB, free: 15.53 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.00919, allocations: 8.375 kB / 274.5 MB, free: 15.52 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.226e-05/0.009202, allocations: 19.92 kB / 274.5 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001618/0.009364, allocations: 98.88 kB / 274.6 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009992/0.01036, allocations: 1.002 MB / 275.6 MB, free: 14.34 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002695/0.01063, allocations: 111.1 kB / 275.7 MB, free: 14.22 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.56e-05/0.0107, allocations: 35.61 kB / 275.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.388e-05/0.01072, allocations: 4 kB / 275.7 MB, free: 14.18 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001619/0.01088, allocations: 148.9 kB / 275.9 MB, free: 14 MB / 266.7 MB Notification: Performance of pre-optimization done (n=12): time 1.413e-06/0.01089, allocations: 0 / 275.9 MB, free: 14 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002609/0.01115, allocations: 125.5 kB / 276 MB, free: 13.88 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.01119, allocations: 93.03 kB / 276.1 MB, free: 13.77 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001758/0.01137, allocations: 292.3 kB / 276.4 MB, free: 13.46 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.01138, allocations: 33.7 kB / 276.4 MB, free: 13.42 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001108/0.01149, allocations: 254.7 kB / 276.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.762e-05/0.01152, allocations: 39.62 kB / 276.7 MB, free: 13.13 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.092e-05/0.01158, allocations: 59.31 kB / 276.8 MB, free: 13.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.01171, allocations: 0.5001 MB / 277.3 MB, free: 12.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.859e-05/0.01179, allocations: 57.92 kB / 277.3 MB, free: 12.48 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001334/0.01192, allocations: 203.8 kB / 277.5 MB, free: 12.22 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001788/0.0121, allocations: 217.7 kB / 277.7 MB, free: 11.95 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.0121, allocations: 7.938 kB / 277.7 MB, free: 11.94 MB / 266.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002831/0.01238, allocations: 252.7 kB / 278 MB, free: 11.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.715e-05/0.01242, allocations: 33.7 kB / 278 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.01243, allocations: 4 kB / 278 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.01245, allocations: 4 kB / 278 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001517/0.0126, allocations: 63.89 kB / 278.1 MB, free: 11.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.01261, allocations: 4 kB / 278.1 MB, free: 11.56 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.01273, allocations: 48.11 kB / 278.1 MB, free: 11.52 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.808e-05/0.01275, allocations: 8 kB / 278.2 MB, free: 11.51 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.0001/0.01285, allocations: 176.5 kB / 278.3 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.768e-05/0.01287, allocations: 27.84 kB / 278.4 MB, free: 11.3 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.286e-05/0.01292, allocations: 21.78 kB / 278.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.01292, allocations: 0 / 278.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.01292, allocations: 0 / 278.4 MB, free: 11.27 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.01293, allocations: 11.92 kB / 278.4 MB, free: 11.26 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.01309, allocations: 216.4 kB / 278.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.01309, allocations: 0 / 278.6 MB, free: 11.02 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.563e-05/0.01318, allocations: 35.97 kB / 278.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.01318, allocations: 0 / 278.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.0132, allocations: 4 kB / 278.6 MB, free: 10.98 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.0132, allocations: 4 kB / 278.6 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.0132, allocations: 0 / 278.6 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002388/0.01344, allocations: 176.1 kB / 278.8 MB, free: 10.78 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.958e-05/0.01347, allocations: 27.84 kB / 278.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.01349, allocations: 3.938 kB / 278.8 MB, free: 10.75 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.569e-05/0.01357, allocations: 24.02 kB / 278.9 MB, free: 10.72 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.691e-05/0.01362, allocations: 11.97 kB / 278.9 MB, free: 10.71 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.626e-06/0.01363, allocations: 8 kB / 278.9 MB, free: 10.7 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001122/0.01374, allocations: 205.1 kB / 279.1 MB, free: 10.5 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01374, allocations: 0 / 279.1 MB, free: 10.5 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001873/0.01393, allocations: 71.84 kB / 279.2 MB, free: 10.43 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 9.354e-05/0.01402, allocations: 99.23 kB / 279.3 MB, free: 10.33 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002269/0.01425, allocations: 197 kB / 279.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.01425, allocations: 0 / 279.4 MB, free: 10.11 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 7.085e-05/0.01432, allocations: 51.55 kB / 279.5 MB, free: 10.06 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.01454, allocations: 56.48 kB / 279.6 MB, free: 10.01 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008758/0.01542, allocations: 467.2 kB / 280 MB, free: 9.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.922e-05/0.01547, allocations: 76.33 kB / 280.1 MB, free: 9.426 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 6.574e-05/0.01553, allocations: 34.27 kB / 280.1 MB, free: 9.395 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.124e-05/0.01559, allocations: 20.5 kB / 280.1 MB, free: 9.375 MB / 266.7 MB Notification: Performance of SimCode: time 8.21e-07/0.0156, allocations: 0 / 280.1 MB, free: 9.375 MB / 266.7 MB Notification: Performance of Templates: time 0.005253/0.02085, allocations: 3.117 MB / 283.3 MB, free: 6.309 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.9820610978640616]