Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 109.4 kB / 18.4 MB, free: 4.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 189.1 kB / 19.33 MB, free: 3.758 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 43.94 kB / 329.2 MB, free: 3.27 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09697/0.09834, allocations: 46.61 MB / 375.8 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.004194/0.1026, allocations: 2.599 MB / 378.4 MB, free: 1.938 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001434/0.104, allocations: 0.7134 MB / 379.2 MB, free: 1.215 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000234/0.1043, allocations: 4 kB / 379.2 MB, free: 1.211 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002024/0.1046, allocations: 39.58 kB / 379.2 MB, free: 1.172 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002696/0.1048, allocations: 79.34 kB / 379.3 MB, free: 1.094 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000349/0.1052, allocations: 95.81 kB / 379.4 MB, free: 1 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004552/0.1057, allocations: 330.5 kB / 379.7 MB, free: 0.6758 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002116/0.1059, allocations: 84.69 kB / 379.8 MB, free: 0.5938 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002868/0.1062, allocations: 123.5 kB / 379.9 MB, free: 484 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002186/0.1064, allocations: 143.4 kB / 380 MB, free: 340 kB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.172e-05/0.1065, allocations: 32 kB / 380.1 MB, free: 308 kB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.496e-05/0.1065, allocations: 28 kB / 380.1 MB, free: 280 kB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 5.88e-05/0.1066, allocations: 59.77 kB / 380.2 MB, free: 220 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001478/0.1068, allocations: 131.3 kB / 380.3 MB, free: 88 kB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2217/0.3285, allocations: 301.1 kB / 380.6 MB, free: 10.43 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.184e-06/0.3285, allocations: 1.25 kB / 380.6 MB, free: 10.43 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.964e-06/0.3285, allocations: 0 / 380.6 MB, free: 10.43 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.3286, allocations: 0 / 380.6 MB, free: 10.43 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.001201/0.3298, allocations: 0.6164 MB / 381.2 MB, free: 9.969 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.3298, allocations: 9.625 kB / 381.2 MB, free: 9.969 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.289e-05/0.3299, allocations: 26.41 kB / 381.2 MB, free: 9.957 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.3302, allocations: 266.8 kB / 381.5 MB, free: 9.738 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.3303, allocations: 13.48 kB / 381.5 MB, free: 9.738 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/0.3303, allocations: 22.5 kB / 381.5 MB, free: 9.738 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005773/0.3309, allocations: 233.7 kB / 381.8 MB, free: 9.703 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3309, allocations: 5.719 kB / 381.8 MB, free: 9.699 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.573e-05/0.331, allocations: 9.125 kB / 381.8 MB, free: 9.699 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.155e-06/0.331, allocations: 7.344 kB / 381.8 MB, free: 9.699 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007235/0.3317, allocations: 249.9 kB / 382 MB, free: 9.695 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.333, allocations: 0.8037 MB / 382.8 MB, free: 9.305 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000851/0.3339, allocations: 232.2 kB / 383 MB, free: 9.281 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002913/0.3342, allocations: 96.36 kB / 383.1 MB, free: 9.273 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.125e-05/0.3342, allocations: 4.719 kB / 383.1 MB, free: 9.273 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000427/0.3346, allocations: 157.8 kB / 383.3 MB, free: 9.211 MB / 318.1 MB Notification: Performance of pre-optimization done (n=13): time 1.282e-06/0.3346, allocations: 0 / 383.3 MB, free: 9.211 MB / 318.1 MB Notification: Performance of matching and sorting (n=13): time 0.001039/0.3357, allocations: 302.9 kB / 383.6 MB, free: 9.152 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.3357, allocations: 79.8 kB / 383.7 MB, free: 9.059 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002605/0.336, allocations: 240.3 kB / 383.9 MB, free: 8.953 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 2.388e-05/0.336, allocations: 27.14 kB / 383.9 MB, free: 8.922 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.222e-05/0.3361, allocations: 162.8 kB / 384.1 MB, free: 8.809 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.358e-05/0.3362, allocations: 47.47 kB / 384.1 MB, free: 8.781 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.528e-05/0.3363, allocations: 44.61 kB / 384.2 MB, free: 8.762 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.128e-05/0.3363, allocations: 329 kB / 384.5 MB, free: 8.449 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003172/0.3367, allocations: 97.28 kB / 384.6 MB, free: 8.441 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000313/0.337, allocations: 149.2 kB / 384.7 MB, free: 8.375 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005675/0.3376, allocations: 248.5 kB / 385 MB, free: 8.281 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3376, allocations: 0 / 385 MB, free: 8.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007581/0.3383, allocations: 310.5 kB / 385.3 MB, free: 8.199 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.257e-05/0.3384, allocations: 37.3 kB / 385.3 MB, free: 8.168 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.3384, allocations: 2.562 kB / 385.3 MB, free: 8.168 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.091e-05/0.3384, allocations: 6.688 kB / 385.3 MB, free: 8.164 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002665/0.3387, allocations: 57.5 kB / 385.4 MB, free: 8.164 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.3387, allocations: 2.031 kB / 385.4 MB, free: 8.164 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002865/0.339, allocations: 39.25 kB / 385.4 MB, free: 8.156 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.959e-05/0.339, allocations: 10.2 kB / 385.4 MB, free: 8.156 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003275/0.3394, allocations: 176.2 kB / 385.6 MB, free: 8.07 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002717/0.3396, allocations: 137.5 kB / 385.8 MB, free: 8.004 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004889/0.3401, allocations: 221.2 kB / 386 MB, free: 7.914 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.395e-06/0.3402, allocations: 4.938 kB / 386 MB, free: 7.91 MB / 318.1 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0006385/0.3408, allocations: 285.5 kB / 386.3 MB, free: 7.832 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.3408, allocations: 39.56 kB / 386.3 MB, free: 7.797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.3408, allocations: 3.922 kB / 386.3 MB, free: 7.797 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.209e-06/0.3409, allocations: 2.234 kB / 386.3 MB, free: 7.797 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.3411, allocations: 54.2 kB / 386.3 MB, free: 7.793 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.3411, allocations: 6.422 kB / 386.4 MB, free: 7.793 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.3414, allocations: 36.73 kB / 386.4 MB, free: 7.785 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.3414, allocations: 10.7 kB / 386.4 MB, free: 7.785 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (22): * Single equations (assignments): 21 * 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 9.445e-05/0.3415, allocations: 198 kB / 386.6 MB, free: 7.598 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.525e-05/0.3415, allocations: 25.22 kB / 386.6 MB, free: 7.582 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.532e-05/0.3416, allocations: 24.56 kB / 386.6 MB, free: 7.574 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.3416, allocations: 5.359 kB / 386.6 MB, free: 7.574 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.3416, allocations: 5.375 kB / 386.7 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3416, allocations: 0.6562 kB / 386.7 MB, free: 7.57 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002781/0.3419, allocations: 287 kB / 386.9 MB, free: 7.375 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.3419, allocations: 0 / 386.9 MB, free: 7.375 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002321/0.3421, allocations: 43.08 kB / 387 MB, free: 7.375 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.866e-06/0.3422, allocations: 1.781 kB / 387 MB, free: 7.375 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.744e-05/0.3422, allocations: 10.36 kB / 387 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.246e-06/0.3422, allocations: 2.984 kB / 387 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.3422, allocations: 0 / 387 MB, free: 7.371 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009434/0.3431, allocations: 339.5 kB / 387.3 MB, free: 7.285 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.672e-05/0.3432, allocations: 98.61 kB / 387.4 MB, free: 7.184 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.191e-05/0.3433, allocations: 6.641 kB / 387.4 MB, free: 7.184 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002153/0.3435, allocations: 23.03 kB / 387.4 MB, free: 7.184 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.965e-05/0.3436, allocations: 16.42 kB / 387.5 MB, free: 7.184 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.3436, allocations: 7.297 kB / 387.5 MB, free: 7.184 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.000155/0.3437, allocations: 175.8 kB / 387.6 MB, free: 7.102 MB / 318.1 MB Notification: Performance of sort global known variables: time 9.92e-07/0.3438, allocations: 0 / 387.6 MB, free: 7.102 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0004283/0.3442, allocations: 104.7 kB / 387.7 MB, free: 7.086 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (13): * Single equations (assignments): 11 * 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.0001314/0.3443, allocations: 101.6 kB / 387.8 MB, free: 6.996 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.001079/0.3454, allocations: 433.3 kB / 388.3 MB, free: 6.797 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3454, allocations: 0 / 388.3 MB, free: 6.797 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002947/0.3457, allocations: 91.88 kB / 388.4 MB, free: 6.777 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003304/0.3461, allocations: 46.25 kB / 388.4 MB, free: 6.754 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001008/0.3471, allocations: 0.4932 MB / 388.9 MB, free: 6.438 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001984/0.3473, allocations: 0.7435 MB / 389.6 MB, free: 5.738 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.412e-05/0.3474, allocations: 25.36 kB / 389.7 MB, free: 5.73 MB / 318.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3474, allocations: 5.062 kB / 389.7 MB, free: 5.727 MB / 318.1 MB Notification: Performance of Templates: time 0.006227/0.3536, allocations: 2.935 MB / 392.6 MB, free: 5.48 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches