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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,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=2000,variableFilter="time|der_.c.v|der_.opAmp.out.v|der_.opAmp.out.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00152/0.00152, allocations: 184.2 kB / 8.136 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.198/1.198, allocations: 221.4 MB / 229.9 MB, free: 3.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001238/0.001238, allocations: 98.94 kB / 280.8 MB, free: 1.258 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.346e-06/8.366e-06, allocations: 4 kB / 336.5 MB, free: 9.496 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1904/0.1904, allocations: 50.39 MB / 386.9 MB, free: 37.97 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08101/0.2715, allocations: 80.71 MB / 467.6 MB, free: 6.086 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002256/0.2717, allocations: 79.89 kB / 467.7 MB, free: 6.008 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.01672/0.2885, allocations: 6.04 MB / 473.8 MB, free: 15.97 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.552e-05/0.2885, allocations: 4 kB / 473.8 MB, free: 15.96 MB / 362.7 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.0009082/0.2894, allocations: 0.5915 MB / 474.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.2895, allocations: 8.031 kB / 474.4 MB, free: 15.32 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.649e-05/0.2896, allocations: 37.17 kB / 474.4 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003505/0.2899, allocations: 291.9 kB / 474.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.618e-05/0.2899, allocations: 8.562 kB / 474.7 MB, free: 14.95 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.29, allocations: 12 kB / 474.7 MB, free: 14.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003193/0.2903, allocations: 169 kB / 474.9 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003678/0.2907, allocations: 233.7 kB / 475.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.979e-06/0.2907, allocations: 0 / 475.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.2907, allocations: 4 kB / 475.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.2908, allocations: 10.34 kB / 475.1 MB, free: 14.52 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001746/0.2925, allocations: 1.091 MB / 476.2 MB, free: 13.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003183/0.2928, allocations: 138.7 kB / 476.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.732e-05/0.2929, allocations: 57.06 kB / 476.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.293, allocations: 3.938 kB / 476.4 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001533/0.2931, allocations: 114.6 kB / 476.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/0.2931, allocations: 0 / 476.5 MB, free: 13.02 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002609/0.2934, allocations: 127.2 kB / 476.6 MB, free: 12.89 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.2935, allocations: 85.11 kB / 476.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002068/0.2937, allocations: 220.2 kB / 476.9 MB, free: 12.57 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.15e-05/0.2937, allocations: 25.7 kB / 476.9 MB, free: 12.54 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.922e-05/0.2938, allocations: 179.5 kB / 477.1 MB, free: 12.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.318e-05/0.2938, allocations: 39.48 kB / 477.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.147e-05/0.2939, allocations: 0 / 477.2 MB, free: 12.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001001/0.294, allocations: 334.7 kB / 477.5 MB, free: 11.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001013/0.2941, allocations: 52.23 kB / 477.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001497/0.2942, allocations: 143.6 kB / 477.7 MB, free: 11.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001058/0.2943, allocations: 65.14 kB / 477.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2944, allocations: 0 / 477.7 MB, free: 11.69 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0003413/0.2947, allocations: 213.2 kB / 478 MB, free: 11.47 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.13e-05/0.2947, allocations: 4 kB / 478 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.2947, allocations: 4 kB / 478 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2947, allocations: 4 kB / 478 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003588/0.2951, allocations: 84.16 kB / 478 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.2951, allocations: 4.656 kB / 478.1 MB, free: 11.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003307/0.2955, allocations: 55.8 kB / 478.1 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.292e-05/0.2955, allocations: 11.91 kB / 478.1 MB, free: 11.31 MB / 362.7 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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.331e-05/0.2956, allocations: 120.4 kB / 478.2 MB, free: 11.19 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.405e-05/0.2956, allocations: 27.7 kB / 478.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.714e-05/0.2957, allocations: 25.7 kB / 478.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.2957, allocations: 0 / 478.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.2957, allocations: 0.75 kB / 478.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.2957, allocations: 0 / 478.3 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002275/0.296, allocations: 266 kB / 478.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.296, allocations: 0.5625 kB / 478.5 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002817/0.2963, allocations: 63.89 kB / 478.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.2963, allocations: 0 / 478.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.2963, allocations: 0 / 478.6 MB, free: 10.78 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.449e-06/0.2963, allocations: 5.375 kB / 478.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2963, allocations: 0.9375 kB / 478.6 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0003557/0.2967, allocations: 220.8 kB / 478.8 MB, free: 10.54 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.849e-05/0.2968, allocations: 100.8 kB / 478.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.591e-05/0.2968, allocations: 4 kB / 478.9 MB, free: 10.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002715/0.2971, allocations: 44.02 kB / 479 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.444e-05/0.2972, allocations: 11.98 kB / 479 MB, free: 10.36 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.633e-05/0.2972, allocations: 7.984 kB / 479 MB, free: 10.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 0.000144/0.2973, allocations: 164.5 kB / 479.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002997/0.2976, allocations: 71.67 kB / 479.2 MB, free: 10.12 MB / 362.7 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) * 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 (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.0001527/0.2978, allocations: 111.1 kB / 479.3 MB, free: 10.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002917/0.2981, allocations: 165.6 kB / 479.5 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.2981, allocations: 0 / 479.5 MB, free: 9.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.2982, allocations: 54.19 kB / 479.6 MB, free: 9.789 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.2985, allocations: 41.66 kB / 479.6 MB, free: 9.754 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008002/0.2993, allocations: 340.1 kB / 479.9 MB, free: 9.391 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003626/0.2997, allocations: 0.7859 MB / 480.7 MB, free: 8.582 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.2997, allocations: 0 / 480.7 MB, free: 8.582 MB / 362.7 MB Notification: Performance of Templates: time 0.005759/0.3055, allocations: 2.657 MB / 483.4 MB, free: 5.977 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (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) 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","../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches