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.00137/0.00137, allocations: 108.3 kB / 20.43 MB, free: 1.473 MB / 14.72 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.001478/0.001478, allocations: 182.7 kB / 23.71 MB, free: 4.711 MB / 14.72 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 1.484/1.484, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001612/0.001612, allocations: 51.92 kB / 371 MB, free: 9.324 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3115/0.3131, allocations: 52.18 MB / 423.1 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004678/0.3178, allocations: 2.893 MB / 426 MB, free: 11.77 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001495/0.3193, allocations: 0.7361 MB / 426.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001559/0.3195, allocations: 4 kB / 426.8 MB, free: 11.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001902/0.3196, allocations: 47.5 kB / 426.8 MB, free: 10.97 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002132/0.3199, allocations: 99.25 kB / 426.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003241/0.3202, allocations: 111.8 kB / 427 MB, free: 10.77 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004457/0.3206, allocations: 390.5 kB / 427.4 MB, free: 10.38 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.3208, allocations: 91.62 kB / 427.5 MB, free: 10.29 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002418/0.3211, allocations: 163.4 kB / 427.7 MB, free: 10.13 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002063/0.3213, allocations: 159.3 kB / 427.8 MB, free: 9.973 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 6.046e-05/0.3213, allocations: 40 kB / 427.9 MB, free: 9.934 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.257e-05/0.3214, allocations: 36 kB / 427.9 MB, free: 9.898 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.424e-05/0.3215, allocations: 75.77 kB / 428 MB, free: 9.824 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.3217, allocations: 163.2 kB / 428.1 MB, free: 9.664 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004918/0.3222, allocations: 435.6 kB / 428.6 MB, free: 9.242 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.3222, allocations: 0 / 428.6 MB, free: 9.242 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3222, allocations: 0 / 428.6 MB, free: 9.242 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.121e-05/0.3222, allocations: 0 / 428.6 MB, free: 9.242 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.001388/0.3236, allocations: 0.5897 MB / 429.1 MB, free: 8.613 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.457e-05/0.3236, allocations: 11.97 kB / 429.2 MB, free: 8.602 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.047e-05/0.3237, allocations: 40.7 kB / 429.2 MB, free: 8.562 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004341/0.3241, allocations: 227 kB / 429.4 MB, free: 8.316 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.726e-05/0.3241, allocations: 20.88 kB / 429.4 MB, free: 8.297 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.75e-05/0.3242, allocations: 24.38 kB / 429.5 MB, free: 8.273 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007613/0.325, allocations: 319 kB / 429.8 MB, free: 7.949 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.325, allocations: 4 kB / 429.8 MB, free: 7.945 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.938e-05/0.325, allocations: 4 kB / 429.8 MB, free: 7.941 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.325, allocations: 8 kB / 429.8 MB, free: 7.934 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000858/0.3259, allocations: 273.8 kB / 430.1 MB, free: 7.668 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.3278, allocations: 1.073 MB / 431.1 MB, free: 6.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009547/0.3288, allocations: 242.5 kB / 431.4 MB, free: 6.273 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003668/0.3291, allocations: 100.8 kB / 431.5 MB, free: 6.172 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.3292, allocations: 4 kB / 431.5 MB, free: 6.168 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004989/0.3297, allocations: 165 kB / 431.6 MB, free: 5.988 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.362e-06/0.3297, allocations: 0 / 431.6 MB, free: 5.988 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001207/0.3309, allocations: 321.3 kB / 431.9 MB, free: 5.668 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.3309, allocations: 85.05 kB / 432 MB, free: 5.566 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003112/0.3312, allocations: 261.9 kB / 432.3 MB, free: 5.301 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.924e-05/0.3313, allocations: 29.69 kB / 432.3 MB, free: 5.266 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.3314, allocations: 204 kB / 432.5 MB, free: 5.062 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.365e-05/0.3315, allocations: 35.69 kB / 432.5 MB, free: 5.027 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.854e-05/0.3316, allocations: 53.66 kB / 432.6 MB, free: 4.969 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001693/0.3317, allocations: 338.8 kB / 432.9 MB, free: 4.629 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003819/0.3321, allocations: 100.2 kB / 433 MB, free: 4.527 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004504/0.3326, allocations: 195.1 kB / 433.2 MB, free: 4.301 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007772/0.3334, allocations: 303 kB / 433.5 MB, free: 3.965 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.3334, allocations: 4 kB / 433.5 MB, free: 3.961 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009749/0.3343, allocations: 359.1 kB / 433.9 MB, free: 3.598 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.602e-05/0.3344, allocations: 41.69 kB / 433.9 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.3344, allocations: 0 / 433.9 MB, free: 3.551 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.3344, allocations: 4 kB / 433.9 MB, free: 3.547 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003304/0.3348, allocations: 63.89 kB / 434 MB, free: 3.484 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.3348, allocations: 4 kB / 434 MB, free: 3.48 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003284/0.3351, allocations: 55.84 kB / 434 MB, free: 3.426 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.676e-05/0.3351, allocations: 12 kB / 434 MB, free: 3.414 MB / 334.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.0001694/0.3353, allocations: 149.7 kB / 434.2 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.073e-05/0.3353, allocations: 23.86 kB / 434.2 MB, free: 3.234 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.604e-05/0.3354, allocations: 25.7 kB / 434.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.3354, allocations: 4 kB / 434.2 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3354, allocations: 0 / 434.2 MB, free: 3.199 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3354, allocations: 7.875 kB / 434.2 MB, free: 3.191 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/0.3357, allocations: 292.4 kB / 434.5 MB, free: 2.863 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.3357, allocations: 3.984 kB / 434.5 MB, free: 2.859 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.336, allocations: 43.97 kB / 434.6 MB, free: 2.816 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.336, allocations: 3.984 kB / 434.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.336, allocations: 0 / 434.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.336, allocations: 0 / 434.6 MB, free: 2.812 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.336, allocations: 3.938 kB / 434.6 MB, free: 2.809 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001143/0.3372, allocations: 373.1 kB / 435 MB, free: 2.426 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.849e-05/0.3372, allocations: 23.83 kB / 435 MB, free: 2.402 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.266e-05/0.3373, allocations: 4 kB / 435 MB, free: 2.398 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002455/0.3375, allocations: 31.95 kB / 435 MB, free: 2.367 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.526e-05/0.3376, allocations: 19.91 kB / 435 MB, free: 2.348 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.304e-05/0.3376, allocations: 7.938 kB / 435 MB, free: 2.34 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0002056/0.3378, allocations: 193.3 kB / 435.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3378, allocations: 0 / 435.2 MB, free: 2.152 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003114/0.3381, allocations: 63.89 kB / 435.3 MB, free: 2.09 MB / 334.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.0001336/0.3382, allocations: 95.25 kB / 435.4 MB, free: 1.988 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008777/0.3391, allocations: 291.3 kB / 435.7 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3391, allocations: 0 / 435.7 MB, free: 1.691 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003695/0.3395, allocations: 104.4 kB / 435.8 MB, free: 1.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003253/0.3398, allocations: 51.75 kB / 435.8 MB, free: 1.539 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001142/0.341, allocations: 0.5216 MB / 436.3 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003911/0.3414, allocations: 0.7518 MB / 437.1 MB, free: 224 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001124/0.3415, allocations: 30.23 kB / 437.1 MB, free: 196 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.105e-05/0.3415, allocations: 23.44 kB / 437.1 MB, free: 176 kB / 334.1 MB Notification: Performance of SimCode: time 3.61e-07/0.3415, allocations: 0 / 437.1 MB, free: 176 kB / 334.1 MB Notification: Performance of Templates: time 0.007516/0.3491, allocations: 3.139 MB / 440.3 MB, free: 13.06 MB / 350.1 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=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.597801065072417]