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.002489/0.002489, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009501/0.0009501, allocations: 105.4 kB / 296.7 MB, free: 6.477 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000936/0.0009363, allocations: 51.92 kB / 356.6 MB, free: 10.58 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2156, allocations: 50.44 MB / 407.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.002865/0.2185, allocations: 2.916 MB / 410 MB, free: 24.89 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008721/0.2194, allocations: 0.7546 MB / 410.7 MB, free: 24.13 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001102/0.2195, allocations: 4 kB / 410.7 MB, free: 24.12 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.2196, allocations: 35.7 kB / 410.8 MB, free: 24.09 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001407/0.2198, allocations: 83.38 kB / 410.9 MB, free: 24.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.22, allocations: 99.91 kB / 410.9 MB, free: 23.91 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002617/0.2203, allocations: 370.5 kB / 411.3 MB, free: 23.55 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001916/0.2205, allocations: 107.8 kB / 411.4 MB, free: 23.44 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002028/0.2207, allocations: 135.5 kB / 411.5 MB, free: 23.31 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.2208, allocations: 159.2 kB / 411.7 MB, free: 23.15 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.812e-05/0.2209, allocations: 20 kB / 411.7 MB, free: 23.13 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.197e-05/0.2209, allocations: 20 kB / 411.7 MB, free: 23.11 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.628e-05/0.221, allocations: 59.77 kB / 411.8 MB, free: 23.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001074/0.2211, allocations: 151.2 kB / 411.9 MB, free: 22.91 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002343/0.2213, allocations: 412.1 kB / 412.4 MB, free: 22.5 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.2213, allocations: 0 / 412.4 MB, free: 22.5 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.2213, allocations: 0 / 412.4 MB, free: 22.5 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.099e-06/0.2213, allocations: 4 kB / 412.4 MB, free: 22.5 MB / 298.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.0009784/0.2223, allocations: 0.6536 MB / 413 MB, free: 21.79 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.754e-05/0.2224, allocations: 12.88 kB / 413 MB, free: 21.77 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.723e-05/0.2224, allocations: 32.56 kB / 413.1 MB, free: 21.74 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.2227, allocations: 288.6 kB / 413.3 MB, free: 21.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.2227, allocations: 20.94 kB / 413.4 MB, free: 21.4 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.704e-05/0.2227, allocations: 24.38 kB / 413.4 MB, free: 21.38 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005523/0.2233, allocations: 316 kB / 413.7 MB, free: 21.06 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.2233, allocations: 0 / 413.7 MB, free: 21.06 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.292e-05/0.2233, allocations: 12 kB / 413.7 MB, free: 21.05 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2234, allocations: 4 kB / 413.7 MB, free: 21.04 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006719/0.224, allocations: 278 kB / 414 MB, free: 20.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.2255, allocations: 1.119 MB / 415.1 MB, free: 19.57 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007581/0.2262, allocations: 250.6 kB / 415.3 MB, free: 19.32 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002865/0.2265, allocations: 100.8 kB / 415.4 MB, free: 19.22 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.573e-05/0.2266, allocations: 7.984 kB / 415.4 MB, free: 19.21 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004486/0.227, allocations: 173 kB / 415.6 MB, free: 19.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=12): time 1.242e-06/0.227, allocations: 0 / 415.6 MB, free: 19.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=12): time 0.0009184/0.228, allocations: 309.1 kB / 415.9 MB, free: 18.71 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.353e-05/0.228, allocations: 85.09 kB / 416 MB, free: 18.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002368/0.2283, allocations: 262.6 kB / 416.3 MB, free: 18.35 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.677e-05/0.2283, allocations: 33.64 kB / 416.3 MB, free: 18.31 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.866e-05/0.2284, allocations: 199.5 kB / 416.5 MB, free: 18.11 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.759e-05/0.2284, allocations: 43.38 kB / 416.5 MB, free: 18.07 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.112e-05/0.2285, allocations: 49.61 kB / 416.6 MB, free: 18.01 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.104e-05/0.2285, allocations: 342.8 kB / 416.9 MB, free: 17.67 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003124/0.2288, allocations: 100.2 kB / 417 MB, free: 17.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003244/0.2292, allocations: 189.1 kB / 417.2 MB, free: 17.34 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000606/0.2298, allocations: 304.7 kB / 417.5 MB, free: 17 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.2298, allocations: 4 kB / 417.5 MB, free: 17 MB / 298.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007428/0.2306, allocations: 353.7 kB / 417.8 MB, free: 16.64 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.984e-05/0.2306, allocations: 44.5 kB / 417.9 MB, free: 16.6 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2306, allocations: 4 kB / 417.9 MB, free: 16.59 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.2306, allocations: 4 kB / 417.9 MB, free: 16.59 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002517/0.2309, allocations: 64.05 kB / 418 MB, free: 16.53 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.2309, allocations: 8 kB / 418 MB, free: 16.52 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002625/0.2312, allocations: 51.64 kB / 418 MB, free: 16.47 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.2312, allocations: 16 kB / 418 MB, free: 16.45 MB / 298.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 (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 9.733e-05/0.2313, allocations: 141.8 kB / 418.2 MB, free: 16.3 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.832e-05/0.2313, allocations: 23.72 kB / 418.2 MB, free: 16.28 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.755e-05/0.2314, allocations: 29.7 kB / 418.2 MB, free: 16.25 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.045e-06/0.2314, allocations: 7.938 kB / 418.2 MB, free: 16.24 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.2314, allocations: 0 / 418.2 MB, free: 16.24 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2314, allocations: 3.938 kB / 418.2 MB, free: 16.23 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001984/0.2316, allocations: 305.4 kB / 418.5 MB, free: 15.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2316, allocations: 3.984 kB / 418.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002216/0.2319, allocations: 43.97 kB / 418.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.2319, allocations: 0 / 418.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.605e-05/0.2319, allocations: 3.984 kB / 418.6 MB, free: 15.84 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2319, allocations: 7.938 kB / 418.6 MB, free: 15.83 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2319, allocations: 4 kB / 418.6 MB, free: 15.82 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004222/0.2361, allocations: 2.097 MB / 420.7 MB, free: 13.59 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.115e-05/0.2362, allocations: 100.9 kB / 420.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.2362, allocations: 7.938 kB / 420.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002081/0.2364, allocations: 32.03 kB / 420.8 MB, free: 13.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.596e-05/0.2365, allocations: 19.97 kB / 420.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.278e-06/0.2365, allocations: 0 / 420.8 MB, free: 13.41 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.000126/0.2366, allocations: 193.9 kB / 421 MB, free: 13.23 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.2366, allocations: 0 / 421 MB, free: 13.23 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003328/0.237, allocations: 95.78 kB / 421.1 MB, free: 13.13 MB / 298.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) * 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 9.744e-05/0.2371, allocations: 95.25 kB / 421.2 MB, free: 13.03 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006742/0.2378, allocations: 295.1 kB / 421.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2378, allocations: 0.6875 kB / 421.5 MB, free: 12.73 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003017/0.2381, allocations: 107.9 kB / 421.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002955/0.2384, allocations: 45.23 kB / 421.7 MB, free: 12.58 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009468/0.2394, allocations: 0.7524 MB / 422.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001253/0.2395, allocations: 0.7598 MB / 423.2 MB, free: 11 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001165/0.2396, allocations: 30.27 kB / 423.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.94e-05/0.2397, allocations: 23.44 kB / 423.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of SimCode: time 2.4e-07/0.2397, allocations: 0 / 423.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of Templates: time 0.004932/0.2446, allocations: 3.339 MB / 426.6 MB, free: 7.645 MB / 298.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@2/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