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.001661/0.001661, allocations: 100 kB / 21.18 MB, free: 0.6484 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.002004/0.002004, allocations: 185.8 kB / 24.45 MB, free: 3.961 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.435/1.435, allocations: 225.7 MB / 253.3 MB, free: 12.82 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.002505/0.002505, allocations: 47.92 kB / 371.7 MB, free: 9.172 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2988/0.3013, allocations: 52.17 MB / 423.8 MB, free: 14.49 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004892/0.3062, allocations: 2.7 MB / 426.5 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001358/0.3076, allocations: 0.6895 MB / 427.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001405/0.3077, allocations: 4 kB / 427.2 MB, free: 11.09 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001744/0.3079, allocations: 51.5 kB / 427.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002206/0.3081, allocations: 95.19 kB / 427.4 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003208/0.3084, allocations: 119.8 kB / 427.5 MB, free: 10.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004765/0.3089, allocations: 386.5 kB / 427.9 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002458/0.3091, allocations: 91.33 kB / 428 MB, free: 10.36 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002746/0.3094, allocations: 155.4 kB / 428.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002228/0.3096, allocations: 147.2 kB / 428.3 MB, free: 10.06 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 7.489e-05/0.3097, allocations: 40 kB / 428.3 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.476e-05/0.3098, allocations: 36 kB / 428.3 MB, free: 9.984 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.561e-05/0.3099, allocations: 71.77 kB / 428.4 MB, free: 9.914 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00016/0.31, allocations: 139.4 kB / 428.5 MB, free: 9.777 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005492/0.3106, allocations: 433.3 kB / 429 MB, free: 9.355 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3106, allocations: 0 / 429 MB, free: 9.355 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.986e-06/0.3106, allocations: 0 / 429 MB, free: 9.355 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.3106, allocations: 0 / 429 MB, free: 9.355 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.001462/0.312, allocations: 0.5859 MB / 429.5 MB, free: 8.73 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.3121, allocations: 8.031 kB / 429.6 MB, free: 8.723 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.18e-05/0.3122, allocations: 40.64 kB / 429.6 MB, free: 8.684 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004765/0.3126, allocations: 231 kB / 429.8 MB, free: 8.434 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.004e-05/0.3127, allocations: 20.88 kB / 429.8 MB, free: 8.414 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.964e-05/0.3127, allocations: 20.38 kB / 429.9 MB, free: 8.395 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007761/0.3135, allocations: 344.7 kB / 430.2 MB, free: 8.039 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.3135, allocations: 0 / 430.2 MB, free: 8.039 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.976e-05/0.3135, allocations: 12 kB / 430.2 MB, free: 8.027 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.294e-05/0.3136, allocations: 11.98 kB / 430.2 MB, free: 8.016 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007978/0.3144, allocations: 273.8 kB / 430.5 MB, free: 7.75 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001827/0.3162, allocations: 0.9562 MB / 431.4 MB, free: 6.73 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009087/0.3171, allocations: 234.5 kB / 431.7 MB, free: 6.492 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003354/0.3174, allocations: 104.8 kB / 431.8 MB, free: 6.387 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.3175, allocations: 0 / 431.8 MB, free: 6.387 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005/0.318, allocations: 194.7 kB / 432 MB, free: 6.172 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.162e-06/0.318, allocations: 3.938 kB / 432 MB, free: 6.168 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001304/0.3193, allocations: 313.3 kB / 432.3 MB, free: 5.855 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.588e-05/0.3193, allocations: 81.11 kB / 432.4 MB, free: 5.758 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/0.3196, allocations: 261 kB / 432.6 MB, free: 5.488 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.278e-05/0.3197, allocations: 29.7 kB / 432.6 MB, free: 5.453 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001715/0.3198, allocations: 196.1 kB / 432.8 MB, free: 5.258 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.118e-05/0.3199, allocations: 47.58 kB / 432.9 MB, free: 5.211 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.033e-05/0.32, allocations: 45.7 kB / 432.9 MB, free: 5.16 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.3202, allocations: 334.8 kB / 433.2 MB, free: 4.824 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003791/0.3205, allocations: 133.9 kB / 433.4 MB, free: 4.684 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004606/0.321, allocations: 242.9 kB / 433.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007378/0.3217, allocations: 311.7 kB / 433.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3217, allocations: 0 / 433.9 MB, free: 4.047 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009287/0.3227, allocations: 388.5 kB / 434.3 MB, free: 3.648 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.486e-05/0.3227, allocations: 29.7 kB / 434.3 MB, free: 3.613 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.3227, allocations: 4 kB / 434.3 MB, free: 3.609 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.199e-05/0.3227, allocations: 4 kB / 434.3 MB, free: 3.605 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002994/0.323, allocations: 76.22 kB / 434.4 MB, free: 3.531 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.38e-05/0.3231, allocations: 7.938 kB / 434.4 MB, free: 3.523 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003025/0.3234, allocations: 51.75 kB / 434.5 MB, free: 3.473 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.416e-05/0.3234, allocations: 8 kB / 434.5 MB, free: 3.465 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.000183/0.3236, allocations: 157.6 kB / 434.6 MB, free: 3.301 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.318e-05/0.3236, allocations: 27.86 kB / 434.7 MB, free: 3.273 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.798e-05/0.3237, allocations: 21.72 kB / 434.7 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.3237, allocations: 0 / 434.7 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3237, allocations: 0 / 434.7 MB, free: 3.25 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/0.3237, allocations: 3.984 kB / 434.7 MB, free: 3.246 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002744/0.324, allocations: 217.1 kB / 434.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.324, allocations: 0 / 434.9 MB, free: 3.004 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.3242, allocations: 43.95 kB / 434.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.3242, allocations: 0 / 434.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.3242, allocations: 0 / 434.9 MB, free: 2.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.3242, allocations: 8 kB / 434.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3242, allocations: 0 / 434.9 MB, free: 2.953 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001121/0.3254, allocations: 376.6 kB / 435.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.133e-05/0.3254, allocations: 27.81 kB / 435.3 MB, free: 2.539 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.833e-05/0.3255, allocations: 4 kB / 435.3 MB, free: 2.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.3257, allocations: 23.97 kB / 435.4 MB, free: 2.512 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.04e-05/0.3258, allocations: 19.97 kB / 435.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.3258, allocations: 8 kB / 435.4 MB, free: 2.484 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001949/0.326, allocations: 180.5 kB / 435.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.326, allocations: 0 / 435.6 MB, free: 2.309 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003321/0.3263, allocations: 67.89 kB / 435.6 MB, free: 2.242 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.0001513/0.3265, allocations: 103.2 kB / 435.7 MB, free: 2.133 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008741/0.3273, allocations: 328.5 kB / 436.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.3273, allocations: 0 / 436.1 MB, free: 1.797 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000337/0.3277, allocations: 92.42 kB / 436.2 MB, free: 1.707 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003396/0.328, allocations: 47.92 kB / 436.2 MB, free: 1.664 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001243/0.3293, allocations: 0.5585 MB / 436.8 MB, free: 1.074 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000142/0.3294, allocations: 138.9 kB / 436.9 MB, free: 0.918 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.654e-05/0.3295, allocations: 23.44 kB / 436.9 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of SimCode: time 3.81e-07/0.3295, allocations: 0 / 436.9 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of Templates: time 0.006511/0.336, allocations: 3.417 MB / 440.3 MB, free: 13.5 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/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: 7.190080765169114]