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.001405/0.001405, allocations: 113.7 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001566/0.001566, allocations: 212.9 kB / 19.4 MB, free: 3.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.425/1.425, allocations: 227.4 MB / 247.6 MB, free: 10.46 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 55.91 kB / 359.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.26, allocations: 50.54 MB / 410 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003579/0.2636, allocations: 2.882 MB / 412.8 MB, free: 14.71 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001175/0.2648, allocations: 0.7401 MB / 413.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.2649, allocations: 4 kB / 413.6 MB, free: 13.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001447/0.2651, allocations: 51.56 kB / 413.6 MB, free: 13.91 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001814/0.2653, allocations: 95.19 kB / 413.7 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002712/0.2655, allocations: 115.8 kB / 413.8 MB, free: 13.7 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003706/0.2659, allocations: 394.5 kB / 414.2 MB, free: 13.31 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002104/0.2661, allocations: 131.2 kB / 414.4 MB, free: 13.18 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002584/0.2664, allocations: 155.4 kB / 414.5 MB, free: 13.02 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001918/0.2666, allocations: 167.3 kB / 414.7 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.949e-05/0.2667, allocations: 40 kB / 414.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.669e-05/0.2667, allocations: 36 kB / 414.7 MB, free: 12.79 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 5.945e-05/0.2668, allocations: 71.77 kB / 414.8 MB, free: 12.71 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.2669, allocations: 171.2 kB / 415 MB, free: 12.55 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003671/0.2673, allocations: 423.7 kB / 415.4 MB, free: 12.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.2673, allocations: 4 kB / 415.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2673, allocations: 0 / 415.4 MB, free: 12.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.132e-06/0.2673, allocations: 0 / 415.4 MB, free: 12.13 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.001193/0.2685, allocations: 0.6614 MB / 416.1 MB, free: 11.42 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2686, allocations: 11.97 kB / 416.1 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.755e-05/0.2687, allocations: 36.55 kB / 416.1 MB, free: 11.37 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003557/0.269, allocations: 288.7 kB / 416.4 MB, free: 11.05 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.2691, allocations: 16.94 kB / 416.4 MB, free: 11.03 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.695e-05/0.2691, allocations: 24.38 kB / 416.4 MB, free: 11.01 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006633/0.2698, allocations: 316 kB / 416.7 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.2698, allocations: 3.984 kB / 416.7 MB, free: 10.68 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.2698, allocations: 12 kB / 416.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.2698, allocations: 4 kB / 416.8 MB, free: 10.67 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007843/0.2706, allocations: 286 kB / 417 MB, free: 10.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001702/0.2723, allocations: 1.107 MB / 418.1 MB, free: 9.203 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008628/0.2732, allocations: 246.6 kB / 418.4 MB, free: 8.953 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.2736, allocations: 104.7 kB / 418.5 MB, free: 8.848 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.2736, allocations: 4 kB / 418.5 MB, free: 8.844 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00044/0.274, allocations: 165 kB / 418.7 MB, free: 8.664 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.423e-06/0.2741, allocations: 0 / 418.7 MB, free: 8.664 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.001063/0.2751, allocations: 313.2 kB / 419 MB, free: 8.352 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.247e-05/0.2752, allocations: 81.05 kB / 419 MB, free: 8.254 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002589/0.2755, allocations: 274.5 kB / 419.3 MB, free: 7.98 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.2755, allocations: 29.7 kB / 419.3 MB, free: 7.945 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.2756, allocations: 195.5 kB / 419.5 MB, free: 7.746 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.562e-05/0.2757, allocations: 43.45 kB / 419.6 MB, free: 7.703 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.475e-05/0.2758, allocations: 49.69 kB / 419.6 MB, free: 7.648 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001164/0.2759, allocations: 330.8 kB / 419.9 MB, free: 7.316 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000343/0.2762, allocations: 104.1 kB / 420 MB, free: 7.211 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003903/0.2766, allocations: 191.5 kB / 420.2 MB, free: 6.984 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006963/0.2773, allocations: 303.7 kB / 420.5 MB, free: 6.645 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.2773, allocations: 0 / 420.5 MB, free: 6.645 MB / 334.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008629/0.2782, allocations: 366.9 kB / 420.9 MB, free: 6.273 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.605e-05/0.2783, allocations: 33.7 kB / 420.9 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.2783, allocations: 0 / 420.9 MB, free: 6.234 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.2783, allocations: 4 kB / 420.9 MB, free: 6.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002948/0.2786, allocations: 71.88 kB / 421 MB, free: 6.16 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.2786, allocations: 8.094 kB / 421 MB, free: 6.152 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000282/0.2789, allocations: 51.66 kB / 421 MB, free: 6.102 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.235e-05/0.2789, allocations: 11.98 kB / 421.1 MB, free: 6.09 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.0001316/0.2791, allocations: 149.4 kB / 421.2 MB, free: 5.938 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.473e-05/0.2791, allocations: 23.72 kB / 421.2 MB, free: 5.914 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.483e-05/0.2792, allocations: 29.64 kB / 421.3 MB, free: 5.879 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.2792, allocations: 4 kB / 421.3 MB, free: 5.875 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2792, allocations: 4 kB / 421.3 MB, free: 5.871 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2792, allocations: 7.875 kB / 421.3 MB, free: 5.863 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.2795, allocations: 313.4 kB / 421.6 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.2795, allocations: 0 / 421.6 MB, free: 5.508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.2797, allocations: 43.89 kB / 421.6 MB, free: 5.465 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.2798, allocations: 4 kB / 421.6 MB, free: 5.461 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.2798, allocations: 7.984 kB / 421.6 MB, free: 5.453 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.2798, allocations: 4 kB / 421.6 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2798, allocations: 0 / 421.6 MB, free: 5.449 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00105/0.2809, allocations: 373 kB / 422 MB, free: 5.066 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.232e-05/0.2809, allocations: 96.86 kB / 422.1 MB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.374e-05/0.281, allocations: 0 / 422.1 MB, free: 4.953 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.2812, allocations: 35.95 kB / 422.1 MB, free: 4.918 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.839e-05/0.2813, allocations: 16.03 kB / 422.1 MB, free: 4.902 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-05/0.2813, allocations: 11.94 kB / 422.2 MB, free: 4.891 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001699/0.2815, allocations: 190 kB / 422.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2815, allocations: 0 / 422.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000288/0.2818, allocations: 67.75 kB / 422.4 MB, free: 4.641 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.0001241/0.2819, allocations: 103.2 kB / 422.5 MB, free: 4.531 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0007835/0.2827, allocations: 295 kB / 422.8 MB, free: 4.23 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2827, allocations: 0.6875 kB / 422.8 MB, free: 4.23 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003448/0.283, allocations: 111.9 kB / 422.9 MB, free: 4.121 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000299/0.2834, allocations: 36.53 kB / 422.9 MB, free: 4.086 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001074/0.2844, allocations: 0.5464 MB / 423.5 MB, free: 3.508 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/0.2847, allocations: 0.7558 MB / 424.2 MB, free: 2.723 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.905e-05/0.2848, allocations: 23.44 kB / 424.3 MB, free: 2.703 MB / 334.1 MB Notification: Performance of SimCode: time 2.51e-07/0.2848, allocations: 7.875 kB / 424.3 MB, free: 2.695 MB / 334.1 MB Notification: Performance of Templates: time 0.004924/0.2898, allocations: 3.375 MB / 427.7 MB, free: 15.34 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