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/ModelicaServices trunk/package.mo", uses=false) 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) 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices trunk/package.mo): time 0.001574/0.001574, allocations: 117.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001946/0.001946, allocations: 204.8 kB / 19.41 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.607/1.607, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001198/0.001198, allocations: 59.91 kB / 359.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2336, allocations: 50.54 MB / 410 MB, free: 1.539 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003653/0.2372, allocations: 2.874 MB / 412.8 MB, free: 14.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001324/0.2386, allocations: 0.7401 MB / 413.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001448/0.2388, allocations: 4 kB / 413.6 MB, free: 13.9 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001528/0.2389, allocations: 43.56 kB / 413.6 MB, free: 13.86 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002114/0.2392, allocations: 95.19 kB / 413.7 MB, free: 13.76 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003162/0.2395, allocations: 119.8 kB / 413.8 MB, free: 13.64 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004114/0.2399, allocations: 398.5 kB / 414.2 MB, free: 13.25 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002447/0.2402, allocations: 127.2 kB / 414.4 MB, free: 13.12 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002992/0.2405, allocations: 155.4 kB / 414.5 MB, free: 12.97 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002026/0.2407, allocations: 171.2 kB / 414.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.408e-05/0.2408, allocations: 36 kB / 414.7 MB, free: 12.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.889e-05/0.2408, allocations: 40 kB / 414.7 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.729e-05/0.2409, allocations: 67.81 kB / 414.8 MB, free: 12.66 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.241, allocations: 171.1 kB / 415 MB, free: 12.49 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003831/0.2414, allocations: 431.7 kB / 415.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2414, allocations: 0 / 415.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.2414, allocations: 0 / 415.4 MB, free: 12.07 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.722e-06/0.2415, allocations: 0 / 415.4 MB, free: 12.07 MB / 334.1 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.001237/0.2427, allocations: 0.6653 MB / 416.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2427, allocations: 12.03 kB / 416.1 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.484e-05/0.2428, allocations: 32.56 kB / 416.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004154/0.2432, allocations: 284.8 kB / 416.4 MB, free: 11 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.409e-05/0.2433, allocations: 20.94 kB / 416.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.875e-05/0.2433, allocations: 28.36 kB / 416.4 MB, free: 10.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006879/0.244, allocations: 323.9 kB / 416.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2441, allocations: 0 / 416.8 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.916e-05/0.2441, allocations: 8 kB / 416.8 MB, free: 10.61 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.2441, allocations: 8 kB / 416.8 MB, free: 10.6 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007883/0.2449, allocations: 270.1 kB / 417 MB, free: 10.34 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001704/0.2466, allocations: 1.111 MB / 418.1 MB, free: 9.148 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008967/0.2475, allocations: 242.5 kB / 418.4 MB, free: 8.902 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003304/0.2479, allocations: 112.8 kB / 418.5 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.918e-05/0.2479, allocations: 0 / 418.5 MB, free: 8.789 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000456/0.2484, allocations: 173 kB / 418.7 MB, free: 8.602 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.292e-06/0.2484, allocations: 0 / 418.7 MB, free: 8.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001074/0.2495, allocations: 313.5 kB / 419 MB, free: 8.289 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.467e-05/0.2495, allocations: 85.11 kB / 419 MB, free: 8.188 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002673/0.2498, allocations: 266.5 kB / 419.3 MB, free: 7.922 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.2498, allocations: 33.7 kB / 419.3 MB, free: 7.883 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.25, allocations: 191.5 kB / 419.5 MB, free: 7.688 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.25, allocations: 39.45 kB / 419.6 MB, free: 7.648 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.725e-05/0.2501, allocations: 49.7 kB / 419.6 MB, free: 7.594 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001075/0.2502, allocations: 338.8 kB / 419.9 MB, free: 7.254 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003589/0.2506, allocations: 100.2 kB / 420 MB, free: 7.152 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003965/0.251, allocations: 191.5 kB / 420.2 MB, free: 6.926 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007226/0.2517, allocations: 307 kB / 420.5 MB, free: 6.586 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2517, allocations: 0 / 420.5 MB, free: 6.586 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009006/0.2526, allocations: 366.9 kB / 420.9 MB, free: 6.215 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.986e-05/0.2527, allocations: 33.7 kB / 420.9 MB, free: 6.176 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.2527, allocations: 4 kB / 420.9 MB, free: 6.172 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/0.2527, allocations: 4 kB / 420.9 MB, free: 6.168 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003085/0.2531, allocations: 67.89 kB / 421 MB, free: 6.102 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.2531, allocations: 7.984 kB / 421 MB, free: 6.094 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003125/0.2534, allocations: 55.72 kB / 421.1 MB, free: 6.039 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.119e-05/0.2534, allocations: 11.94 kB / 421.1 MB, free: 6.027 MB / 334.1 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 (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 (26): * Single equations (assignments): 25 * 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 0.0001461/0.2536, allocations: 142 kB / 421.2 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.919e-05/0.2536, allocations: 23.72 kB / 421.2 MB, free: 5.855 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.891e-05/0.2537, allocations: 29.64 kB / 421.3 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.2537, allocations: 0 / 421.3 MB, free: 5.82 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.2537, allocations: 4 kB / 421.3 MB, free: 5.816 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.2537, allocations: 7.922 kB / 421.3 MB, free: 5.809 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002756/0.254, allocations: 317.4 kB / 421.6 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.254, allocations: 0 / 421.6 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002603/0.2543, allocations: 47.89 kB / 421.6 MB, free: 5.402 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.475e-06/0.2543, allocations: 0 / 421.6 MB, free: 5.402 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.2543, allocations: 0 / 421.6 MB, free: 5.402 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2543, allocations: 4 kB / 421.6 MB, free: 5.398 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2543, allocations: 0 / 421.6 MB, free: 5.398 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.2555, allocations: 376.6 kB / 422 MB, free: 5.012 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.738e-05/0.2555, allocations: 96.88 kB / 422.1 MB, free: 4.898 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.41e-05/0.2556, allocations: 8 kB / 422.1 MB, free: 4.891 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002379/0.2558, allocations: 23.97 kB / 422.1 MB, free: 4.867 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.2559, allocations: 19.97 kB / 422.1 MB, free: 4.848 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.2559, allocations: 7.938 kB / 422.2 MB, free: 4.84 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001821/0.2561, allocations: 193.9 kB / 422.3 MB, free: 4.652 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.2561, allocations: 4.062 kB / 422.3 MB, free: 4.648 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003085/0.2564, allocations: 63.75 kB / 422.4 MB, free: 4.586 MB / 334.1 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) * Number of clocked states: 0 () * 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 (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.0001446/0.2566, allocations: 107.2 kB / 422.5 MB, free: 4.473 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0008125/0.2574, allocations: 291.2 kB / 422.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2574, allocations: 0 / 422.8 MB, free: 4.176 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003438/0.2578, allocations: 100.4 kB / 422.9 MB, free: 4.078 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.2581, allocations: 48.47 kB / 422.9 MB, free: 4.031 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.2592, allocations: 0.5464 MB / 423.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.2595, allocations: 0.748 MB / 424.2 MB, free: 2.676 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.687e-05/0.2596, allocations: 27.42 kB / 424.3 MB, free: 2.652 MB / 334.1 MB Notification: Performance of SimCode: time 4.11e-07/0.2596, allocations: 3.938 kB / 424.3 MB, free: 2.648 MB / 334.1 MB Notification: Performance of Templates: time 0.004937/0.2645, allocations: 3.352 MB / 427.6 MB, free: 15.32 MB / 350.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches