Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.0028/0.002808, allocations: 189.2 kB / 16.4 MB, free: 5.625 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.693/3.693, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.002064/0.002064, allocations: 94.86 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000761/0.0007608, allocations: 8 kB / 327 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1669, allocations: 47.58 MB / 374.6 MB, free: 15.43 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Differentiator): time 0.006085/0.1731, allocations: 2.119 MB / 376.7 MB, free: 13.29 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.002822/0.176, allocations: 0.6831 MB / 377.4 MB, free: 12.6 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003315/0.1764, allocations: 3.938 kB / 377.4 MB, free: 12.6 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.1766, allocations: 27.83 kB / 377.4 MB, free: 12.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005814/0.1772, allocations: 95.67 kB / 377.5 MB, free: 12.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005849/0.1778, allocations: 63.92 kB / 377.5 MB, free: 12.41 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007342/0.1785, allocations: 203.6 kB / 377.7 MB, free: 12.21 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003358/0.1789, allocations: 65.08 kB / 377.8 MB, free: 12.16 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004668/0.1794, allocations: 111.5 kB / 377.9 MB, free: 12.05 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003729/0.1798, allocations: 119.5 kB / 378 MB, free: 11.93 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 7.862e-05/0.1799, allocations: 12 kB / 378 MB, free: 11.92 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.218e-05/0.18, allocations: 16 kB / 378.1 MB, free: 11.9 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001087/0.1802, allocations: 43.81 kB / 378.1 MB, free: 11.86 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002335/0.1804, allocations: 73.56 kB / 378.2 MB, free: 11.78 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007178/0.1811, allocations: 223.5 kB / 378.4 MB, free: 11.56 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.548e-06/0.1812, allocations: 12 kB / 378.4 MB, free: 11.55 MB / 282.7 MB Notification: Performance of FrontEnd: time 4.729e-06/0.1812, allocations: 0 / 378.4 MB, free: 11.55 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.801e-05/0.1813, allocations: 0 / 378.4 MB, free: 11.55 MB / 282.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.002714/0.184, allocations: 0.5869 MB / 379 MB, free: 10.9 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.456e-05/0.1841, allocations: 8.031 kB / 379 MB, free: 10.89 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000189/0.1843, allocations: 27.72 kB / 379 MB, free: 10.87 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006378/0.185, allocations: 262.3 kB / 379.3 MB, free: 10.57 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.53e-05/0.185, allocations: 16.38 kB / 379.3 MB, free: 10.55 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.795e-05/0.1851, allocations: 20 kB / 379.3 MB, free: 10.54 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00141/0.1866, allocations: 244.5 kB / 379.6 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.1866, allocations: 4 kB / 379.6 MB, free: 10.29 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.961e-05/0.1867, allocations: 8 kB / 379.6 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.433e-05/0.1867, allocations: 4 kB / 379.6 MB, free: 10.28 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002086/0.1888, allocations: 279.5 kB / 379.8 MB, free: 10 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004666/0.1936, allocations: 0.8482 MB / 380.7 MB, free: 9.086 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002316/0.196, allocations: 266.6 kB / 380.9 MB, free: 8.816 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.732e-05/0.1961, allocations: 0 / 380.9 MB, free: 8.816 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001115/0.1972, allocations: 188.9 kB / 381.1 MB, free: 8.613 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 4.97e-06/0.1973, allocations: 0 / 381.1 MB, free: 8.613 MB / 282.7 MB Notification: Performance of matching and sorting (n=13): time 0.002533/0.1998, allocations: 333.3 kB / 381.5 MB, free: 8.281 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/0.2, allocations: 85.11 kB / 381.5 MB, free: 8.18 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005852/0.2006, allocations: 236.9 kB / 381.8 MB, free: 7.934 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 7.849e-05/0.2007, allocations: 33.7 kB / 381.8 MB, free: 7.895 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002494/0.201, allocations: 214.4 kB / 382 MB, free: 7.684 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001041/0.2011, allocations: 47.38 kB / 382.1 MB, free: 7.637 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.573e-05/0.2012, allocations: 8 kB / 382.1 MB, free: 7.629 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0002498/0.2014, allocations: 322.7 kB / 382.4 MB, free: 7.305 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008199/0.2023, allocations: 108.1 kB / 382.5 MB, free: 7.199 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.2034, allocations: 155.2 kB / 382.6 MB, free: 7.023 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000961/0.2044, allocations: 137.7 kB / 382.8 MB, free: 6.883 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.168e-06/0.2045, allocations: 0 / 382.8 MB, free: 6.883 MB / 282.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002127/0.2066, allocations: 327 kB / 383.1 MB, free: 6.551 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004777/0.2072, allocations: 0.6432 MB / 383.7 MB, free: 5.855 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/0.2072, allocations: 4 kB / 383.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.501e-05/0.2072, allocations: 0 / 383.7 MB, free: 5.852 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006769/0.2079, allocations: 71.89 kB / 383.8 MB, free: 5.781 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.13e-05/0.208, allocations: 7.984 kB / 383.8 MB, free: 5.773 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006702/0.2087, allocations: 47.72 kB / 383.9 MB, free: 5.727 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.997e-05/0.2087, allocations: 12 kB / 383.9 MB, free: 5.715 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.2088, allocations: 4 kB / 383.9 MB, free: 5.711 MB / 282.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001599/0.2104, allocations: 269.6 kB / 384.1 MB, free: 5.441 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.2104, allocations: 7.984 kB / 384.2 MB, free: 5.434 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/0.2105, allocations: 0 / 384.2 MB, free: 5.434 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005609/0.211, allocations: 59.91 kB / 384.2 MB, free: 5.375 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.909e-06/0.2111, allocations: 0 / 384.2 MB, free: 5.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004936/0.2116, allocations: 48.02 kB / 384.3 MB, free: 5.328 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.032e-05/0.2116, allocations: 8 kB / 384.3 MB, free: 5.32 MB / 282.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 ($whenCondition1,$PRE.vIn.signalSource.T_start,vIn.signalSource.T_start,$PRE.vIn.signalSource.count,vIn.signalSource.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003583/0.212, allocations: 213.7 kB / 384.5 MB, free: 5.102 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.2121, allocations: 27.7 kB / 384.5 MB, free: 5.074 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.551e-05/0.2122, allocations: 21.84 kB / 384.5 MB, free: 5.055 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.2123, allocations: 4 kB / 384.5 MB, free: 5.051 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.2123, allocations: 0 / 384.5 MB, free: 5.051 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.2123, allocations: 11.94 kB / 384.5 MB, free: 5.039 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005318/0.2129, allocations: 273.5 kB / 384.8 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/0.2129, allocations: 0 / 384.8 MB, free: 4.719 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006243/0.2135, allocations: 59.89 kB / 384.9 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.256e-06/0.2136, allocations: 0 / 384.9 MB, free: 4.66 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.983e-05/0.2136, allocations: 4 kB / 384.9 MB, free: 4.656 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.2136, allocations: 0 / 384.9 MB, free: 4.656 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.2136, allocations: 0 / 384.9 MB, free: 4.656 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002352/0.216, allocations: 392.6 kB / 385.3 MB, free: 4.254 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00017/0.2162, allocations: 96.94 kB / 385.3 MB, free: 4.141 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.274e-05/0.2163, allocations: 4 kB / 385.4 MB, free: 4.137 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005206/0.2169, allocations: 40.03 kB / 385.4 MB, free: 4.098 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001435/0.217, allocations: 15.97 kB / 385.4 MB, free: 4.082 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.94e-05/0.2171, allocations: 4 kB / 385.4 MB, free: 4.078 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003829/0.2175, allocations: 172.5 kB / 385.6 MB, free: 3.91 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.2175, allocations: 0 / 385.6 MB, free: 3.91 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009617/0.2185, allocations: 107.6 kB / 385.7 MB, free: 3.805 MB / 282.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 (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.0002254/0.2187, allocations: 107.1 kB / 385.8 MB, free: 3.691 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.002517/0.2212, allocations: 478.6 kB / 386.3 MB, free: 3.203 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/0.2213, allocations: 0 / 386.3 MB, free: 3.203 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007803/0.2221, allocations: 104.2 kB / 386.4 MB, free: 3.102 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005996/0.2227, allocations: 36.41 kB / 386.4 MB, free: 3.066 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002192/0.2249, allocations: 0.5966 MB / 387 MB, free: 2.438 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005471/0.2256, allocations: 0.7482 MB / 387.7 MB, free: 1.664 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.2258, allocations: 19.44 kB / 387.8 MB, free: 1.645 MB / 282.7 MB Notification: Performance of SimCode: time 1.353e-06/0.2258, allocations: 0 / 387.8 MB, free: 1.645 MB / 282.7 MB Notification: Performance of Templates: time 0.4789/0.7047, allocations: 2.837 MB / 390.6 MB, free: 19.98 MB / 282.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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_cpp_Modelica.Electrical.Analog.Examples.OpAmps.Differentiator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches