Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|c.v|opAmp.out.v|opAmp.out.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001026/0.001026, allocations: 187 kB / 17.92 MB, free: 3.855 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.243/1.243, allocations: 205.1 MB / 223.7 MB, free: 8.48 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009817/0.0009818, allocations: 106.2 kB / 271.2 MB, free: 8.438 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007833/0.0007836, allocations: 43.94 kB / 327.2 MB, free: 308 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1879/0.1887, allocations: 46.61 MB / 373.8 MB, free: 45.66 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.003384/0.1921, allocations: 2.654 MB / 376.5 MB, free: 43.73 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001077/0.1932, allocations: 0.7127 MB / 377.2 MB, free: 43.15 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001172/0.1934, allocations: 4.125 kB / 377.2 MB, free: 43.15 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.1935, allocations: 26.88 kB / 377.2 MB, free: 43.12 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00014/0.1936, allocations: 74.84 kB / 377.3 MB, free: 43.06 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.1938, allocations: 71.09 kB / 377.4 MB, free: 43 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.1941, allocations: 320 kB / 377.7 MB, free: 42.81 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001389/0.1942, allocations: 62.2 kB / 377.7 MB, free: 42.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000143/0.1944, allocations: 119.3 kB / 377.9 MB, free: 42.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001273/0.1945, allocations: 133.6 kB / 378 MB, free: 42.62 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.082e-05/0.1946, allocations: 16.44 kB / 378 MB, free: 42.62 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.185e-05/0.1946, allocations: 18.03 kB / 378 MB, free: 42.62 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.071e-05/0.1947, allocations: 53.22 kB / 378.1 MB, free: 42.57 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001044/0.1948, allocations: 125.8 kB / 378.2 MB, free: 42.49 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002131/0.195, allocations: 287.7 kB / 378.5 MB, free: 42.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.195, allocations: 1.312 kB / 378.5 MB, free: 42.27 MB / 298.7 MB Notification: Performance of FrontEnd: time 6.91e-07/0.195, allocations: 4 kB / 378.5 MB, free: 42.27 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.568e-06/0.195, allocations: 0 / 378.5 MB, free: 42.27 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0009813/0.196, allocations: 0.6127 MB / 379.1 MB, free: 41.71 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.1961, allocations: 8.562 kB / 379.1 MB, free: 41.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.829e-05/0.1961, allocations: 30.3 kB / 379.1 MB, free: 41.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.1964, allocations: 269.9 kB / 379.4 MB, free: 41.43 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.631e-05/0.1964, allocations: 12.75 kB / 379.4 MB, free: 41.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.041e-05/0.1964, allocations: 21.41 kB / 379.4 MB, free: 41.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005266/0.197, allocations: 242.8 kB / 379.7 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.197, allocations: 0 / 379.7 MB, free: 41.27 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.197, allocations: 10.11 kB / 379.7 MB, free: 41.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.197, allocations: 4.344 kB / 379.7 MB, free: 41.26 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006533/0.1977, allocations: 249.3 kB / 379.9 MB, free: 41.14 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001089/0.1988, allocations: 0.8275 MB / 380.8 MB, free: 40.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000676/0.1995, allocations: 229.6 kB / 381 MB, free: 40.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002458/0.1997, allocations: 96.12 kB / 381.1 MB, free: 40.26 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.894e-05/0.1998, allocations: 1.531 kB / 381.1 MB, free: 40.26 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003421/0.2001, allocations: 156.7 kB / 381.2 MB, free: 40.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.2001, allocations: 5.281 kB / 381.2 MB, free: 40.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=13): time 0.0007878/0.2009, allocations: 289.5 kB / 381.5 MB, free: 39.98 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.476e-05/0.2009, allocations: 79.7 kB / 381.6 MB, free: 39.89 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.2011, allocations: 239.3 kB / 381.8 MB, free: 39.71 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.2011, allocations: 32.42 kB / 381.9 MB, free: 39.68 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.2012, allocations: 164.7 kB / 382 MB, free: 39.53 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.699e-05/0.2012, allocations: 44.92 kB / 382.1 MB, free: 39.49 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.074e-05/0.2013, allocations: 40.31 kB / 382.1 MB, free: 39.46 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.189e-05/0.2014, allocations: 331.1 kB / 382.4 MB, free: 39.13 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002646/0.2016, allocations: 95.78 kB / 382.5 MB, free: 39.08 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002668/0.2019, allocations: 152.9 kB / 382.7 MB, free: 38.96 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000486/0.2024, allocations: 245.6 kB / 382.9 MB, free: 38.78 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.2024, allocations: 0 / 382.9 MB, free: 38.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006288/0.203, allocations: 308.8 kB / 383.2 MB, free: 38.6 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/0.2031, allocations: 35.86 kB / 383.2 MB, free: 38.57 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2031, allocations: 1.625 kB / 383.2 MB, free: 38.57 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.2031, allocations: 7.125 kB / 383.3 MB, free: 38.56 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002229/0.2033, allocations: 58.78 kB / 383.3 MB, free: 38.54 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.2033, allocations: 3.25 kB / 383.3 MB, free: 38.54 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.2036, allocations: 42.25 kB / 383.4 MB, free: 38.52 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.2036, allocations: 10.59 kB / 383.4 MB, free: 38.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002648/0.2039, allocations: 172 kB / 383.5 MB, free: 38.39 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002357/0.2041, allocations: 139.6 kB / 383.7 MB, free: 38.28 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004176/0.2045, allocations: 219.8 kB / 383.9 MB, free: 38.12 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.475e-06/0.2046, allocations: 5.344 kB / 383.9 MB, free: 38.11 MB / 298.7 MB Notification: Performance of matching and sorting (n=23) (initialization_lambda0): time 0.0005823/0.2051, allocations: 291 kB / 384.2 MB, free: 37.94 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.2052, allocations: 32.61 kB / 384.2 MB, free: 37.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.464e-06/0.2052, allocations: 1.406 kB / 384.2 MB, free: 37.91 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.035e-06/0.2052, allocations: 2.875 kB / 384.2 MB, free: 37.91 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.2054, allocations: 48.23 kB / 384.3 MB, free: 37.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.2054, allocations: 6.156 kB / 384.3 MB, free: 37.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002098/0.2056, allocations: 38.25 kB / 384.3 MB, free: 37.87 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.2056, allocations: 10.03 kB / 384.3 MB, free: 37.87 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (22): * Single equations (assignments): 21 * 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 6.119e-05/0.2057, allocations: 194.6 kB / 384.5 MB, free: 37.68 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.2057, allocations: 16.78 kB / 384.5 MB, free: 37.67 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.181e-05/0.2058, allocations: 23.14 kB / 384.5 MB, free: 37.65 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.686e-06/0.2058, allocations: 1.188 kB / 384.5 MB, free: 37.65 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.2058, allocations: 1.062 kB / 384.5 MB, free: 37.65 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-06/0.2058, allocations: 3.938 kB / 384.5 MB, free: 37.65 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001834/0.206, allocations: 297.1 kB / 384.8 MB, free: 37.36 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.206, allocations: 0 / 384.8 MB, free: 37.36 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001994/0.2062, allocations: 40.91 kB / 384.9 MB, free: 37.34 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2062, allocations: 1.062 kB / 384.9 MB, free: 37.34 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.545e-05/0.2062, allocations: 9.328 kB / 384.9 MB, free: 37.34 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.933e-06/0.2062, allocations: 0.9375 kB / 384.9 MB, free: 37.34 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2062, allocations: 0 / 384.9 MB, free: 37.34 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003768/0.21, allocations: 1.975 MB / 386.9 MB, free: 35.82 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.395e-05/0.2101, allocations: 94.55 kB / 387 MB, free: 35.72 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.741e-05/0.2101, allocations: 5.484 kB / 387 MB, free: 35.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001906/0.2103, allocations: 30.81 kB / 387 MB, free: 35.7 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.701e-05/0.2104, allocations: 18.58 kB / 387 MB, free: 35.69 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.2104, allocations: 7.016 kB / 387 MB, free: 35.68 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001106/0.2105, allocations: 172.5 kB / 387.2 MB, free: 35.54 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2105, allocations: 0 / 387.2 MB, free: 35.54 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004477/0.2109, allocations: 151.7 kB / 387.3 MB, free: 35.39 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (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 (13): * Single equations (assignments): 11 * 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 7.986e-05/0.211, allocations: 103.2 kB / 387.4 MB, free: 35.28 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0008004/0.2118, allocations: 427 kB / 387.8 MB, free: 34.84 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2119, allocations: 4.062 kB / 387.9 MB, free: 34.83 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002494/0.2121, allocations: 95.94 kB / 387.9 MB, free: 34.74 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.2124, allocations: 36.41 kB / 388 MB, free: 34.7 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008243/0.2132, allocations: 0.6931 MB / 388.7 MB, free: 33.97 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001254/0.2134, allocations: 0.7442 MB / 389.4 MB, free: 33.2 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001238/0.2135, allocations: 33.92 kB / 389.5 MB, free: 33.17 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.509e-05/0.2136, allocations: 19.44 kB / 389.5 MB, free: 33.15 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.2136, allocations: 0 / 389.5 MB, free: 33.15 MB / 298.7 MB Notification: Performance of Templates: time 0.004707/0.2183, allocations: 3.305 MB / 392.8 MB, free: 29.88 MB / 298.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/OpAmps/Differentiator/Differentiator.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches