Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001509/0.001509, allocations: 110.5 kB / 21.23 MB, free: 0.6641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00188/0.00188, allocations: 213.2 kB / 24.54 MB, free: 4.02 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 258.2 MB, free: 8.035 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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002159/0.002159, allocations: 64.77 kB / 379.1 MB, free: 2.707 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3023, allocations: 53.37 MB / 432.4 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.00466/0.307, allocations: 2.906 MB / 435.3 MB, free: 4.031 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001534/0.3085, allocations: 0.7596 MB / 436.1 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001606/0.3087, allocations: 7.938 kB / 436.1 MB, free: 3.258 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001633/0.3088, allocations: 47.56 kB / 436.2 MB, free: 3.211 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.309, allocations: 103.2 kB / 436.3 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003034/0.3093, allocations: 111.8 kB / 436.4 MB, free: 3 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004472/0.3098, allocations: 398.5 kB / 436.8 MB, free: 2.609 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002141/0.31, allocations: 90.62 kB / 436.8 MB, free: 2.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003041/0.3103, allocations: 163.4 kB / 437 MB, free: 2.359 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.3105, allocations: 159.4 kB / 437.2 MB, free: 2.203 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.977e-05/0.3106, allocations: 40 kB / 437.2 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.345e-05/0.3106, allocations: 39.94 kB / 437.2 MB, free: 2.125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.539e-05/0.3107, allocations: 75.75 kB / 437.3 MB, free: 2.051 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001719/0.3109, allocations: 175.2 kB / 437.5 MB, free: 1.879 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004858/0.3114, allocations: 422.1 kB / 437.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3114, allocations: 0 / 437.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.3114, allocations: 0 / 437.9 MB, free: 1.469 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.492e-06/0.3114, allocations: 0 / 437.9 MB, free: 1.469 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.001267/0.3126, allocations: 0.5936 MB / 438.5 MB, free: 0.8398 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.3127, allocations: 12.03 kB / 438.5 MB, free: 0.8281 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.778e-05/0.3128, allocations: 32.75 kB / 438.5 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004379/0.3132, allocations: 234.9 kB / 438.8 MB, free: 0.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.45e-05/0.3132, allocations: 20.81 kB / 438.8 MB, free: 0.5234 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.671e-05/0.3133, allocations: 24.38 kB / 438.8 MB, free: 0.5 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006905/0.314, allocations: 319 kB / 439.1 MB, free: 180 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.43e-05/0.314, allocations: 7.922 kB / 439.1 MB, free: 172 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.764e-05/0.314, allocations: 8 kB / 439.1 MB, free: 164 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.314, allocations: 8 kB / 439.1 MB, free: 156 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007913/0.3148, allocations: 273.9 kB / 439.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.3167, allocations: 1.076 MB / 440.5 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008896/0.3176, allocations: 238.5 kB / 440.7 MB, free: 14.49 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003189/0.3179, allocations: 96.78 kB / 440.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.694e-05/0.3179, allocations: 4 kB / 440.8 MB, free: 14.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004777/0.3184, allocations: 165 kB / 441 MB, free: 14.21 MB / 350.1 MB Notification: Performance of pre-optimization done (n=12): time 1.573e-06/0.3184, allocations: 0 / 441 MB, free: 14.21 MB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001077/0.3195, allocations: 321.5 kB / 441.3 MB, free: 13.89 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.728e-05/0.3196, allocations: 85.09 kB / 441.4 MB, free: 13.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.3199, allocations: 257.9 kB / 441.6 MB, free: 13.52 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.143e-05/0.3199, allocations: 29.7 kB / 441.7 MB, free: 13.49 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.3201, allocations: 200 kB / 441.9 MB, free: 13.29 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.761e-05/0.3201, allocations: 43.64 kB / 441.9 MB, free: 13.25 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.848e-05/0.3202, allocations: 49.64 kB / 441.9 MB, free: 13.19 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.3204, allocations: 338.8 kB / 442.3 MB, free: 12.85 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003526/0.3207, allocations: 100.2 kB / 442.4 MB, free: 12.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004048/0.3211, allocations: 191.5 kB / 442.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007123/0.3218, allocations: 306.4 kB / 442.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3218, allocations: 4 kB / 442.9 MB, free: 12.18 MB / 350.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008713/0.3227, allocations: 358.8 kB / 443.2 MB, free: 11.82 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.378e-05/0.3227, allocations: 41.62 kB / 443.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.3228, allocations: 0 / 443.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/0.3228, allocations: 4.344 kB / 443.3 MB, free: 11.77 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003031/0.3231, allocations: 71.89 kB / 443.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.3231, allocations: 4 kB / 443.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003109/0.3234, allocations: 55.73 kB / 443.4 MB, free: 11.64 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.658e-05/0.3234, allocations: 15.98 kB / 443.4 MB, free: 11.62 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.0002015/0.3236, allocations: 149.7 kB / 443.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.3237, allocations: 23.86 kB / 443.6 MB, free: 11.44 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.729e-05/0.3237, allocations: 21.7 kB / 443.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.3237, allocations: 4 kB / 443.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.3237, allocations: 0 / 443.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3238, allocations: 3.938 kB / 443.6 MB, free: 11.41 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003409/0.3241, allocations: 284.5 kB / 443.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3241, allocations: 0 / 443.9 MB, free: 11.09 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002474/0.3243, allocations: 47.89 kB / 443.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3243, allocations: 4 kB / 443.9 MB, free: 11.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.3244, allocations: 4 kB / 443.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3244, allocations: 0 / 443.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.3244, allocations: 4 kB / 443.9 MB, free: 11.03 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001092/0.3255, allocations: 372.7 kB / 444.3 MB, free: 10.64 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.234e-05/0.3255, allocations: 27.81 kB / 444.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.3256, allocations: 4 kB / 444.3 MB, free: 10.61 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000221/0.3258, allocations: 32.03 kB / 444.4 MB, free: 10.58 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.185e-05/0.3258, allocations: 19.95 kB / 444.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.222e-05/0.3259, allocations: 7.938 kB / 444.4 MB, free: 10.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001972/0.3261, allocations: 185.2 kB / 444.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3261, allocations: 0 / 444.6 MB, free: 10.38 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003143/0.3264, allocations: 75.83 kB / 444.6 MB, free: 10.3 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.0001364/0.3265, allocations: 103.2 kB / 444.7 MB, free: 10.19 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0008259/0.3273, allocations: 283.7 kB / 445 MB, free: 9.902 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3273, allocations: 4.062 kB / 445 MB, free: 9.898 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003328/0.3277, allocations: 103.7 kB / 445.1 MB, free: 9.797 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.328, allocations: 40.48 kB / 445.2 MB, free: 9.758 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.3292, allocations: 0.5335 MB / 445.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003786/0.3296, allocations: 0.7518 MB / 446.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001062/0.3297, allocations: 22.3 kB / 446.5 MB, free: 8.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.016e-05/0.3298, allocations: 27.42 kB / 446.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3298, allocations: 0 / 446.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of Templates: time 0.007534/0.3373, allocations: 3.172 MB / 449.7 MB, free: 5.242 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.521096204407513]