Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) 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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_cpp_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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001912/0.001912, allocations: 173.8 kB / 16.72 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.644/1.644, allocations: 205.4 MB / 222.9 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008257/0.0008257, allocations: 85.88 kB / 271.2 MB, free: 8.254 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003347/0.0003347, allocations: 12 kB / 327.5 MB, free: 15.88 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2682, allocations: 47.57 MB / 375.1 MB, free: 45.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.002572/0.2709, allocations: 2.208 MB / 377.3 MB, free: 43.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00114/0.272, allocations: 0.6706 MB / 378 MB, free: 43.16 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001489/0.2722, allocations: 7.156 kB / 378 MB, free: 43.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.2723, allocations: 26.98 kB / 378 MB, free: 43.13 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001562/0.2725, allocations: 67.88 kB / 378.1 MB, free: 43.07 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000246/0.2728, allocations: 66.64 kB / 378.2 MB, free: 43.02 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002873/0.2731, allocations: 292.3 kB / 378.4 MB, free: 42.84 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001842/0.2732, allocations: 69.98 kB / 378.5 MB, free: 42.8 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002253/0.2735, allocations: 109 kB / 378.6 MB, free: 42.74 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001591/0.2736, allocations: 117.4 kB / 378.7 MB, free: 42.66 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.199e-05/0.2737, allocations: 14.5 kB / 378.7 MB, free: 42.66 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.223e-05/0.2737, allocations: 13.69 kB / 378.8 MB, free: 42.66 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.144e-05/0.2738, allocations: 45.52 kB / 378.8 MB, free: 42.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.2739, allocations: 142.7 kB / 378.9 MB, free: 42.51 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002304/0.2742, allocations: 227.5 kB / 379.2 MB, free: 42.34 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.2742, allocations: 1.406 kB / 379.2 MB, free: 42.34 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.2742, allocations: 3.938 kB / 379.2 MB, free: 42.34 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.482e-06/0.2742, allocations: 0 / 379.2 MB, free: 42.34 MB / 298.7 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.001204/0.2754, allocations: 0.5863 MB / 379.8 MB, free: 41.81 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.2755, allocations: 10.12 kB / 379.8 MB, free: 41.81 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.045e-05/0.2756, allocations: 29.84 kB / 379.8 MB, free: 41.79 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.2759, allocations: 266 kB / 380 MB, free: 41.52 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.909e-05/0.2759, allocations: 12.25 kB / 380.1 MB, free: 41.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.496e-05/0.276, allocations: 22.03 kB / 380.1 MB, free: 41.51 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006233/0.2766, allocations: 257.7 kB / 380.3 MB, free: 41.36 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.2766, allocations: 0 / 380.3 MB, free: 41.36 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.762e-05/0.2767, allocations: 10.12 kB / 380.3 MB, free: 41.36 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.038e-05/0.2767, allocations: 4.469 kB / 380.3 MB, free: 41.36 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007645/0.2775, allocations: 279.8 kB / 380.6 MB, free: 41.24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00137/0.2788, allocations: 0.8429 MB / 381.5 MB, free: 40.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008213/0.2797, allocations: 265.3 kB / 381.7 MB, free: 40.41 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002945/0.28, allocations: 118.8 kB / 381.8 MB, free: 40.35 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.048e-05/0.28, allocations: 0.875 kB / 381.8 MB, free: 40.35 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004823/0.2805, allocations: 181.5 kB / 382 MB, free: 40.22 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.854e-06/0.2805, allocations: 0 / 382 MB, free: 40.22 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.001/0.2815, allocations: 340.3 kB / 382.4 MB, free: 40.06 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.879e-05/0.2816, allocations: 87.11 kB / 382.4 MB, free: 39.96 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002485/0.2818, allocations: 233.5 kB / 382.7 MB, free: 39.79 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.2819, allocations: 32.11 kB / 382.7 MB, free: 39.76 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.763e-05/0.282, allocations: 169.5 kB / 382.9 MB, free: 39.6 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.282, allocations: 44.77 kB / 382.9 MB, free: 39.56 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.313e-05/0.282, allocations: 1.312 kB / 382.9 MB, free: 39.56 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.894e-05/0.2821, allocations: 330.8 kB / 383.2 MB, free: 39.23 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/0.2824, allocations: 104.6 kB / 383.3 MB, free: 39.19 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003957/0.2829, allocations: 161.2 kB / 383.5 MB, free: 39.08 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006086/0.2835, allocations: 277.8 kB / 383.8 MB, free: 38.9 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2835, allocations: 0 / 383.8 MB, free: 38.9 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007965/0.2843, allocations: 339.9 kB / 384.1 MB, free: 38.72 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.2844, allocations: 163.5 kB / 384.3 MB, free: 38.54 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.2844, allocations: 1.906 kB / 384.3 MB, free: 38.54 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.171e-05/0.2845, allocations: 7.469 kB / 384.3 MB, free: 38.53 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.2847, allocations: 65.95 kB / 384.3 MB, free: 38.51 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.2848, allocations: 2.531 kB / 384.3 MB, free: 38.51 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002999/0.2851, allocations: 58.92 kB / 384.4 MB, free: 38.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.852e-05/0.2851, allocations: 10.5 kB / 384.4 MB, free: 38.48 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.258e-06/0.2851, allocations: 4.25 kB / 384.4 MB, free: 38.48 MB / 298.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006457/0.2858, allocations: 272.9 kB / 384.7 MB, free: 38.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.2858, allocations: 1.344 kB / 384.7 MB, free: 38.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.889e-06/0.2858, allocations: 6.969 kB / 384.7 MB, free: 38.34 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002308/0.286, allocations: 59.45 kB / 384.7 MB, free: 38.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.286, allocations: 5.281 kB / 384.7 MB, free: 38.32 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002349/0.2863, allocations: 42.28 kB / 384.8 MB, free: 38.3 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.888e-05/0.2863, allocations: 5.938 kB / 384.8 MB, free: 38.3 MB / 298.7 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001644/0.2865, allocations: 212.9 kB / 385 MB, free: 38.09 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.645e-05/0.2865, allocations: 20.59 kB / 385 MB, free: 38.08 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.354e-05/0.2866, allocations: 27.8 kB / 385 MB, free: 38.06 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-06/0.2866, allocations: 5.25 kB / 385 MB, free: 38.05 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/0.2867, allocations: 0 / 385 MB, free: 38.05 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.581e-06/0.2867, allocations: 5.25 kB / 385 MB, free: 38.05 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002798/0.2869, allocations: 284.1 kB / 385.3 MB, free: 37.77 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.287, allocations: 0 / 385.3 MB, free: 37.77 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002378/0.2872, allocations: 52.7 kB / 385.4 MB, free: 37.75 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.2872, allocations: 1.219 kB / 385.4 MB, free: 37.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.2872, allocations: 8.969 kB / 385.4 MB, free: 37.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.2872, allocations: 0 / 385.4 MB, free: 37.75 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.2873, allocations: 1.438 kB / 385.4 MB, free: 37.75 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000986/0.2882, allocations: 390.8 kB / 385.8 MB, free: 37.54 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.812e-05/0.2883, allocations: 94.09 kB / 385.9 MB, free: 37.43 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.2884, allocations: 10.28 kB / 385.9 MB, free: 37.42 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002133/0.2886, allocations: 29.84 kB / 385.9 MB, free: 37.41 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.887e-05/0.2887, allocations: 23.44 kB / 385.9 MB, free: 37.4 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.507e-05/0.2887, allocations: 11.34 kB / 385.9 MB, free: 37.39 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001621/0.2889, allocations: 173 kB / 386.1 MB, free: 37.25 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2889, allocations: 0 / 386.1 MB, free: 37.25 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003803/0.2893, allocations: 99.69 kB / 386.2 MB, free: 37.16 MB / 298.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001279/0.2894, allocations: 103.2 kB / 386.3 MB, free: 37.05 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0009404/0.2903, allocations: 466.5 kB / 386.8 MB, free: 36.57 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.2904, allocations: 0.6875 kB / 386.8 MB, free: 36.57 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003079/0.2907, allocations: 118.6 kB / 386.9 MB, free: 36.45 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003519/0.291, allocations: 40.98 kB / 386.9 MB, free: 36.41 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009529/0.292, allocations: 0.5921 MB / 387.5 MB, free: 35.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.2922, allocations: 0.7442 MB / 388.3 MB, free: 35.02 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.077e-05/0.2923, allocations: 23.44 kB / 388.3 MB, free: 35 MB / 298.7 MB Notification: Performance of SimCode: time 6.81e-07/0.2923, allocations: 0 / 388.3 MB, free: 35 MB / 298.7 MB Notification: Performance of Templates: time 0.004038/0.2963, allocations: 2.895 MB / 391.2 MB, free: 32.11 MB / 298.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches