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.001191/0.001191, allocations: 197.2 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.515/1.515, allocations: 225.6 MB / 234.8 MB, free: 3.285 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007909/0.0007908, allocations: 94.92 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.617e-05/2.619e-05, allocations: 8 kB / 343.7 MB, free: 8.277 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09595/0.09599, allocations: 51.48 MB / 395.2 MB, free: 4.758 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3157/0.4117, allocations: 81.57 MB / 476.7 MB, free: 11.01 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002296/0.412, allocations: 78.53 kB / 476.8 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01532/0.4273, allocations: 6.267 MB / 483.1 MB, free: 6.285 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.4273, allocations: 0 / 483.1 MB, free: 6.285 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.536e-05/0.4274, allocations: 12 kB / 483.1 MB, free: 6.273 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.0007681/0.4281, allocations: 0.5898 MB / 483.7 MB, free: 5.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.4282, allocations: 8.031 kB / 483.7 MB, free: 5.652 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.945e-05/0.4283, allocations: 32.48 kB / 483.7 MB, free: 5.621 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002905/0.4286, allocations: 286.5 kB / 484 MB, free: 5.336 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.615e-05/0.4286, allocations: 8 kB / 484 MB, free: 5.328 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.977e-05/0.4287, allocations: 12 kB / 484 MB, free: 5.316 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002613/0.4289, allocations: 168.7 kB / 484.2 MB, free: 5.223 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003134/0.4292, allocations: 236.2 kB / 484.4 MB, free: 5.039 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.4293, allocations: 0 / 484.4 MB, free: 5.039 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.338e-05/0.4293, allocations: 0 / 484.4 MB, free: 5.039 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.942e-06/0.4293, allocations: 4 kB / 484.4 MB, free: 5.035 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001406/0.4307, allocations: 1.086 MB / 485.5 MB, free: 4.078 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002635/0.431, allocations: 144.5 kB / 485.7 MB, free: 3.977 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.474e-05/0.4311, allocations: 53.98 kB / 485.7 MB, free: 3.941 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.072e-05/0.4311, allocations: 0.5625 kB / 485.7 MB, free: 3.941 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001741/0.4313, allocations: 120.8 kB / 485.8 MB, free: 3.828 MB / 346.7 MB Notification: Performance of pre-optimization done (n=12): time 1.392e-06/0.4313, allocations: 0 / 485.8 MB, free: 3.828 MB / 346.7 MB Notification: Performance of matching and sorting (n=12): time 0.0002308/0.4315, allocations: 136.6 kB / 486 MB, free: 3.719 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.4316, allocations: 81.33 kB / 486 MB, free: 3.621 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001634/0.4317, allocations: 216.7 kB / 486.3 MB, free: 3.438 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.4318, allocations: 31.58 kB / 486.3 MB, free: 3.402 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.432e-05/0.4318, allocations: 201.4 kB / 486.5 MB, free: 3.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.442e-05/0.4319, allocations: 35.33 kB / 486.5 MB, free: 3.199 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.191e-05/0.4319, allocations: 0 / 486.5 MB, free: 3.199 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.768e-05/0.4319, allocations: 336.8 kB / 486.8 MB, free: 2.871 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.9e-05/0.432, allocations: 57.34 kB / 486.9 MB, free: 2.836 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.4321, allocations: 140.7 kB / 487 MB, free: 2.688 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001027/0.4322, allocations: 65.06 kB / 487.1 MB, free: 2.648 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.4323, allocations: 0 / 487.1 MB, free: 2.648 MB / 346.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002862/0.4325, allocations: 209.5 kB / 487.3 MB, free: 2.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.597e-05/0.4326, allocations: 45.38 kB / 487.4 MB, free: 2.434 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.4326, allocations: 4 kB / 487.4 MB, free: 2.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.4326, allocations: 4 kB / 487.4 MB, free: 2.426 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002853/0.4329, allocations: 64.2 kB / 487.4 MB, free: 2.363 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.693e-06/0.4329, allocations: 11.94 kB / 487.4 MB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002741/0.4332, allocations: 55.7 kB / 487.5 MB, free: 2.297 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.94e-05/0.4332, allocations: 11.56 kB / 487.5 MB, free: 2.289 MB / 346.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 7.548e-05/0.4333, allocations: 126 kB / 487.6 MB, free: 2.16 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.717e-05/0.4333, allocations: 19.81 kB / 487.6 MB, free: 2.141 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.569e-05/0.4334, allocations: 26.64 kB / 487.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4334, allocations: 2.812 kB / 487.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.4334, allocations: 0 / 487.7 MB, free: 2.133 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.4334, allocations: 4 kB / 487.7 MB, free: 2.129 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.4336, allocations: 272.4 kB / 487.9 MB, free: 1.871 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.4336, allocations: 0 / 487.9 MB, free: 1.871 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.4338, allocations: 51.95 kB / 488 MB, free: 1.82 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.4339, allocations: 4 kB / 488 MB, free: 1.816 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.412e-05/0.4339, allocations: 3.984 kB / 488 MB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.4339, allocations: 0 / 488 MB, free: 1.812 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.4339, allocations: 3.938 kB / 488 MB, free: 1.809 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002741/0.4342, allocations: 219.9 kB / 488.2 MB, free: 1.641 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.091e-05/0.4342, allocations: 112.2 kB / 488.3 MB, free: 1.516 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.704e-05/0.4343, allocations: 4.062 kB / 488.3 MB, free: 1.512 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.4345, allocations: 31.97 kB / 488.4 MB, free: 1.48 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.118e-05/0.4345, allocations: 18.66 kB / 488.4 MB, free: 1.465 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.4346, allocations: 7.5 kB / 488.4 MB, free: 1.461 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0001017/0.4347, allocations: 166.4 kB / 488.6 MB, free: 1.328 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4347, allocations: 4 kB / 488.6 MB, free: 1.324 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002721/0.435, allocations: 59.84 kB / 488.6 MB, free: 1.266 MB / 346.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.0001306/0.4351, allocations: 114.1 kB / 488.7 MB, free: 1.145 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002517/0.4354, allocations: 191.3 kB / 488.9 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.4354, allocations: 0 / 488.9 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 8.429e-05/0.4355, allocations: 56.56 kB / 489 MB, free: 0.957 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002489/0.4357, allocations: 35.83 kB / 489 MB, free: 0.9336 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007042/0.4364, allocations: 345.3 kB / 489.3 MB, free: 0.6172 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002004/0.4366, allocations: 0.7555 MB / 490.1 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001257/0.4368, allocations: 30.05 kB / 490.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.961e-05/0.4368, allocations: 19.44 kB / 490.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of SimCode: time 1.593e-06/0.4368, allocations: 0 / 490.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of Templates: time 0.004996/0.4418, allocations: 2.353 MB / 492.5 MB, free: 13.53 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