Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001432/0.001432, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.415/1.415, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008173/0.0008173, allocations: 83.52 kB / 292.1 MB, free: 5.93 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.067e-05/3.069e-05, allocations: 4 kB / 350.6 MB, free: 2.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.108/0.1081, allocations: 51.47 MB / 402 MB, free: 15 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3961/0.5042, allocations: 82.24 MB / 484.3 MB, free: 7.246 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.5045, allocations: 83.03 kB / 484.3 MB, free: 7.207 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01588/0.5205, allocations: 6.335 MB / 490.7 MB, free: 1.879 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.5205, allocations: 0 / 490.7 MB, free: 1.879 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.998e-05/0.5205, allocations: 8 kB / 490.7 MB, free: 1.871 MB / 346.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.0009621/0.5215, allocations: 0.5844 MB / 491.3 MB, free: 1.266 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.5215, allocations: 8.031 kB / 491.3 MB, free: 1.258 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001176/0.5217, allocations: 40.41 kB / 491.3 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003929/0.5221, allocations: 288.4 kB / 491.6 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.5221, allocations: 15.94 kB / 491.6 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.111e-05/0.5222, allocations: 23.31 kB / 491.6 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004397/0.5226, allocations: 267.6 kB / 491.9 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.5226, allocations: 4 kB / 491.9 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.874e-05/0.5227, allocations: 11.12 kB / 491.9 MB, free: 0.7109 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.5227, allocations: 9.781 kB / 491.9 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003021/0.523, allocations: 177.4 kB / 492.1 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001781/0.5248, allocations: 1.138 MB / 493.2 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003624/0.5252, allocations: 144.6 kB / 493.4 MB, free: 15.49 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.5253, allocations: 64.11 kB / 493.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.786e-05/0.5253, allocations: 4 kB / 493.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000284/0.5256, allocations: 126 kB / 493.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of pre-optimization done (n=12): time 1.923e-06/0.5256, allocations: 4 kB / 493.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0003479/0.526, allocations: 138.2 kB / 493.7 MB, free: 15.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.5261, allocations: 88.23 kB / 493.8 MB, free: 15.12 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002864/0.5264, allocations: 242.2 kB / 494 MB, free: 14.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.071e-05/0.5264, allocations: 25.7 kB / 494.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001376/0.5266, allocations: 194.6 kB / 494.2 MB, free: 14.72 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.223e-05/0.5266, allocations: 38.08 kB / 494.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/0.5266, allocations: 3.562 kB / 494.3 MB, free: 14.69 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001546/0.5268, allocations: 333.3 kB / 494.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.5269, allocations: 56.73 kB / 494.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001833/0.5271, allocations: 148.3 kB / 494.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001521/0.5273, allocations: 103.2 kB / 494.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.5273, allocations: 0 / 494.9 MB, free: 14.08 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0004451/0.5277, allocations: 267 kB / 495.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.237e-05/0.5278, allocations: 37.69 kB / 495.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.5278, allocations: 0 / 495.2 MB, free: 13.77 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.5278, allocations: 4 kB / 495.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003066/0.5281, allocations: 75.89 kB / 495.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/0.5282, allocations: 4.188 kB / 495.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003055/0.5285, allocations: 59.7 kB / 495.4 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.68e-05/0.5285, allocations: 15.95 kB / 495.4 MB, free: 13.61 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 0.000116/0.5286, allocations: 121.4 kB / 495.5 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.847e-05/0.5287, allocations: 27.72 kB / 495.5 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.53e-05/0.5288, allocations: 25.83 kB / 495.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.5288, allocations: 0 / 495.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.5288, allocations: 0 / 495.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.5288, allocations: 0 / 495.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003141/0.5291, allocations: 321.4 kB / 495.9 MB, free: 13.07 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.5291, allocations: 3.938 kB / 495.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002628/0.5294, allocations: 51.95 kB / 495.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.107e-05/0.5294, allocations: 4.875 kB / 495.9 MB, free: 13.01 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.5294, allocations: 3.938 kB / 495.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.5294, allocations: 1.594 kB / 495.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.5294, allocations: 0 / 495.9 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004052/0.5298, allocations: 236.8 kB / 496.1 MB, free: 12.75 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.069e-05/0.5299, allocations: 104.8 kB / 496.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.657e-05/0.53, allocations: 0 / 496.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002408/0.5302, allocations: 47.14 kB / 496.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.003e-05/0.5303, allocations: 19.92 kB / 496.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.804e-05/0.5303, allocations: 7.984 kB / 496.3 MB, free: 12.56 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001897/0.5305, allocations: 183.1 kB / 496.5 MB, free: 12.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.074e-06/0.5306, allocations: 4 kB / 496.5 MB, free: 12.38 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003133/0.5309, allocations: 71.78 kB / 496.6 MB, free: 12.31 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.0001859/0.5311, allocations: 104.2 kB / 496.7 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003458/0.5314, allocations: 199.3 kB / 496.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5314, allocations: 0 / 496.9 MB, free: 11.99 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001284/0.5316, allocations: 65.73 kB / 496.9 MB, free: 11.93 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002966/0.5319, allocations: 41.98 kB / 497 MB, free: 11.89 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008491/0.5327, allocations: 345.6 kB / 497.3 MB, free: 11.53 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003881/0.5331, allocations: 0.756 MB / 498.1 MB, free: 10.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001422/0.5333, allocations: 26.08 kB / 498.1 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.588e-05/0.5334, allocations: 23.42 kB / 498.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of SimCode: time 2.4e-07/0.5334, allocations: 0 / 498.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of Templates: time 0.006525/0.5399, allocations: 2.647 MB / 0.489 GB, free: 8.137 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches