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.00174/0.00174, allocations: 111.1 kB / 20.44 MB, free: 1.062 MB / 14.72 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.002236/0.002236, allocations: 218 kB / 23.73 MB, free: 4.164 MB / 14.72 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 1.476/1.476, allocations: 230.6 MB / 257.5 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001629/0.001629, allocations: 55.86 kB / 378.2 MB, free: 2.445 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3153/0.3169, allocations: 53.36 MB / 431.6 MB, free: 6.715 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004714/0.3216, allocations: 2.704 MB / 434.3 MB, free: 4.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001488/0.3231, allocations: 0.7207 MB / 435 MB, free: 3.277 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.3233, allocations: 7.938 kB / 435 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.3234, allocations: 47.56 kB / 435.1 MB, free: 3.223 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.3236, allocations: 107.1 kB / 435.2 MB, free: 3.117 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003271/0.324, allocations: 111.8 kB / 435.3 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005255/0.3245, allocations: 398.5 kB / 435.7 MB, free: 2.617 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002513/0.3247, allocations: 90.19 kB / 435.8 MB, free: 2.527 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000353/0.3251, allocations: 155.4 kB / 435.9 MB, free: 2.375 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002179/0.3253, allocations: 147.3 kB / 436.1 MB, free: 2.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.609e-05/0.3254, allocations: 36 kB / 436.1 MB, free: 2.195 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.348e-05/0.3254, allocations: 40 kB / 436.1 MB, free: 2.156 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.788e-05/0.3255, allocations: 71.7 kB / 436.2 MB, free: 2.086 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001609/0.3257, allocations: 143.4 kB / 436.3 MB, free: 1.945 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005068/0.3262, allocations: 422.1 kB / 436.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3262, allocations: 0 / 436.8 MB, free: 1.535 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.3262, allocations: 7.938 kB / 436.8 MB, free: 1.527 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.3262, allocations: 0 / 436.8 MB, free: 1.527 MB / 334.1 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.001317/0.3275, allocations: 0.5963 MB / 437.4 MB, free: 0.8984 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3276, allocations: 16.02 kB / 437.4 MB, free: 0.8828 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.746e-05/0.3276, allocations: 32.75 kB / 437.4 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004709/0.3281, allocations: 238.9 kB / 437.6 MB, free: 0.5938 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.3281, allocations: 16.88 kB / 437.7 MB, free: 0.5781 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.991e-05/0.3282, allocations: 24.38 kB / 437.7 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006776/0.3289, allocations: 344.7 kB / 438 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/0.3289, allocations: 0 / 438 MB, free: 204 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.878e-05/0.3289, allocations: 12 kB / 438 MB, free: 192 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.3289, allocations: 4 kB / 438 MB, free: 188 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007738/0.3297, allocations: 273.8 kB / 438.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/0.3314, allocations: 0.9524 MB / 439.3 MB, free: 14.9 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008828/0.3323, allocations: 234.6 kB / 439.5 MB, free: 14.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003141/0.3326, allocations: 96.78 kB / 439.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.3326, allocations: 0 / 439.6 MB, free: 14.57 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004688/0.3331, allocations: 206.6 kB / 439.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.132e-06/0.3331, allocations: 0 / 439.8 MB, free: 14.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001041/0.3341, allocations: 313.3 kB / 440.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.154e-05/0.3342, allocations: 77.11 kB / 440.2 MB, free: 13.93 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002913/0.3345, allocations: 268.9 kB / 440.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.3345, allocations: 25.7 kB / 440.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001594/0.3346, allocations: 200 kB / 440.6 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.819e-05/0.3347, allocations: 47.62 kB / 440.7 MB, free: 13.38 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.012e-05/0.3348, allocations: 49.66 kB / 440.7 MB, free: 13.32 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.335, allocations: 338.8 kB / 441.1 MB, free: 12.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000358/0.3353, allocations: 129.9 kB / 441.2 MB, free: 12.85 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004368/0.3358, allocations: 246.9 kB / 441.4 MB, free: 12.55 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007236/0.3365, allocations: 303.7 kB / 441.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.3365, allocations: 0 / 441.7 MB, free: 12.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008824/0.3374, allocations: 388.5 kB / 442.1 MB, free: 11.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.428e-05/0.3374, allocations: 37.7 kB / 442.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.012e-06/0.3374, allocations: 352 / 442.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.3375, allocations: 8 kB / 442.2 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002842/0.3377, allocations: 71.88 kB / 442.2 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.3378, allocations: 4 kB / 442.2 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000288/0.338, allocations: 47.8 kB / 442.3 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/0.3381, allocations: 15.98 kB / 442.3 MB, free: 11.63 MB / 350.1 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.0001505/0.3382, allocations: 149.7 kB / 442.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.606e-05/0.3383, allocations: 23.86 kB / 442.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.744e-05/0.3383, allocations: 25.7 kB / 442.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.3383, allocations: 0 / 442.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3383, allocations: 4 kB / 442.5 MB, free: 11.42 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.3383, allocations: 3.984 kB / 442.5 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002543/0.3386, allocations: 213.1 kB / 442.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3386, allocations: 0 / 442.7 MB, free: 11.18 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002356/0.3388, allocations: 43.97 kB / 442.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3388, allocations: 0 / 442.8 MB, free: 11.13 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.3389, allocations: 11.98 kB / 442.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.3389, allocations: 3.938 kB / 442.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3389, allocations: 0 / 442.8 MB, free: 11.12 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.3399, allocations: 368.6 kB / 443.1 MB, free: 10.74 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.642e-05/0.34, allocations: 23.89 kB / 443.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.511e-05/0.34, allocations: 0 / 443.2 MB, free: 10.71 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002181/0.3402, allocations: 31.95 kB / 443.2 MB, free: 10.68 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.954e-05/0.3403, allocations: 24.03 kB / 443.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.238e-05/0.3403, allocations: 4 kB / 443.2 MB, free: 10.66 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001998/0.3405, allocations: 180.5 kB / 443.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3405, allocations: 0 / 443.4 MB, free: 10.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003038/0.3408, allocations: 67.84 kB / 443.5 MB, free: 10.42 MB / 350.1 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.0001332/0.341, allocations: 103.2 kB / 443.6 MB, free: 10.31 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008203/0.3418, allocations: 320.7 kB / 443.9 MB, free: 9.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3418, allocations: 0 / 443.9 MB, free: 9.977 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.3421, allocations: 100.5 kB / 444 MB, free: 9.879 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.3424, allocations: 52.7 kB / 444 MB, free: 9.832 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/0.3436, allocations: 0.5296 MB / 444.5 MB, free: 9.277 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001366/0.3438, allocations: 142.8 kB / 444.7 MB, free: 9.117 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001083/0.3439, allocations: 26.28 kB / 444.7 MB, free: 9.094 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.692e-05/0.3439, allocations: 19.44 kB / 444.7 MB, free: 9.074 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3439, allocations: 0 / 444.7 MB, free: 9.074 MB / 350.1 MB Notification: Performance of Templates: time 0.007481/0.3514, allocations: 3.399 MB / 448.1 MB, free: 5.734 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.694001568481326]