Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") translateModel(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009099/0.0009099, allocations: 94.56 kB / 17.31 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009923/0.0009924, allocations: 179.9 kB / 18.21 MB, free: 5.25 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.266/1.266, allocations: 223.3 MB / 242.3 MB, free: 192 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002249/0.0002248, allocations: 11.94 kB / 302.1 MB, free: 6.09 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07158/0.07182, allocations: 50.4 MB / 352.5 MB, free: 3.668 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.002988/0.07482, allocations: 3.028 MB / 355.5 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001192/0.07602, allocations: 0.7871 MB / 356.3 MB, free: 15.83 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001815/0.07622, allocations: 8 kB / 356.3 MB, free: 15.82 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.07637, allocations: 43.61 kB / 356.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002234/0.07661, allocations: 107.2 kB / 356.5 MB, free: 15.67 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002623/0.07688, allocations: 123.9 kB / 356.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.000427/0.07731, allocations: 470 kB / 357.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002346/0.07756, allocations: 145.4 kB / 357.2 MB, free: 14.94 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.07777, allocations: 159.3 kB / 357.3 MB, free: 14.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.07798, allocations: 175.1 kB / 357.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.431e-05/0.07803, allocations: 20 kB / 357.5 MB, free: 14.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.826e-05/0.0781, allocations: 24 kB / 357.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.07816, allocations: 59.7 kB / 357.6 MB, free: 14.51 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001646/0.07833, allocations: 208.7 kB / 357.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.07868, allocations: 450.9 kB / 358.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.07869, allocations: 3.938 kB / 358.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of FrontEnd: time 6.31e-07/0.07869, allocations: 0 / 358.3 MB, free: 13.86 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.374e-06/0.07871, allocations: 0 / 358.3 MB, free: 13.86 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.0009498/0.07967, allocations: 0.6435 MB / 358.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.988e-05/0.0797, allocations: 8.031 kB / 358.9 MB, free: 13.16 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.548e-05/0.07978, allocations: 40.47 kB / 359 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003271/0.08012, allocations: 312.7 kB / 359.3 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.08015, allocations: 29.38 kB / 359.3 MB, free: 12.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.95e-05/0.08021, allocations: 36.12 kB / 359.3 MB, free: 12.71 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006869/0.0809, allocations: 394.2 kB / 359.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.08092, allocations: 0 / 359.7 MB, free: 12.31 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.853e-05/0.08097, allocations: 16 kB / 359.7 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.078e-05/0.08098, allocations: 11.94 kB / 359.7 MB, free: 12.29 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006501/0.08164, allocations: 315.8 kB / 360 MB, free: 11.97 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002129/0.08378, allocations: 1.467 MB / 361.5 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006367/0.08443, allocations: 242.7 kB / 361.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002271/0.08466, allocations: 104.8 kB / 361.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.095e-05/0.0847, allocations: 4 kB / 361.9 MB, free: 10.06 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.08472, allocations: 34.56 kB / 361.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/0.08473, allocations: 0 / 361.9 MB, free: 10.02 MB / 302.1 MB Notification: Performance of matching and sorting (n=16): time 0.002347/0.08708, allocations: 0.8124 MB / 362.7 MB, free: 9.156 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.646e-05/0.08712, allocations: 51.41 kB / 362.8 MB, free: 9.094 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003228/0.08745, allocations: 323.2 kB / 363.1 MB, free: 8.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.988e-05/0.08748, allocations: 25.7 kB / 363.1 MB, free: 8.738 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001267/0.08761, allocations: 227.7 kB / 363.3 MB, free: 8.508 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.433e-05/0.08766, allocations: 59.19 kB / 363.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.08771, allocations: 21.72 kB / 363.4 MB, free: 8.422 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.959e-05/0.08781, allocations: 342.8 kB / 363.7 MB, free: 8.078 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000223/0.08804, allocations: 87.97 kB / 363.8 MB, free: 7.992 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002561/0.08831, allocations: 157.4 kB / 364 MB, free: 7.805 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004708/0.08878, allocations: 268 kB / 364.2 MB, free: 7.512 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.0888, allocations: 0 / 364.2 MB, free: 7.512 MB / 302.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001045/0.08985, allocations: 442.7 kB / 364.7 MB, free: 7.066 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.08987, allocations: 8 kB / 364.7 MB, free: 7.059 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.08989, allocations: 8 kB / 364.7 MB, free: 7.051 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004455/0.09034, allocations: 117.6 kB / 364.8 MB, free: 6.93 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.09052, allocations: 43.92 kB / 364.8 MB, free: 6.887 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003721/0.09425, allocations: 3.318 MB / 368.2 MB, free: 3.305 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002234/0.09448, allocations: 39.67 kB / 368.2 MB, free: 3.266 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.881e-05/0.09451, allocations: 8 kB / 368.2 MB, free: 3.258 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0001442/0.09466, allocations: 165 kB / 368.4 MB, free: 3.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.392e-05/0.09472, allocations: 31.72 kB / 368.4 MB, free: 3.059 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.809e-05/0.09479, allocations: 34.3 kB / 368.4 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.0948, allocations: 0 / 368.4 MB, free: 3.023 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.0948, allocations: 4.141 kB / 368.4 MB, free: 3.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.09482, allocations: 7.969 kB / 368.4 MB, free: 3.012 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003511/0.09517, allocations: 361.2 kB / 368.8 MB, free: 2.609 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.09518, allocations: 4 kB / 368.8 MB, free: 2.605 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.623e-05/0.09527, allocations: 15.98 kB / 368.8 MB, free: 2.59 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003615/0.09564, allocations: 113.6 kB / 368.9 MB, free: 2.473 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.09567, allocations: 4 kB / 368.9 MB, free: 2.469 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1399/0.2356, allocations: 3.199 MB / 372.1 MB, free: 23.23 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2357, allocations: 2.953 kB / 372.1 MB, free: 23.23 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000981/0.2366, allocations: 451.7 kB / 372.6 MB, free: 23.09 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.37e-05/0.2367, allocations: 107.7 kB / 372.7 MB, free: 23 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.458e-05/0.2368, allocations: 3.359 kB / 372.7 MB, free: 23 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/0.237, allocations: 36.48 kB / 372.7 MB, free: 23 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.865e-05/0.2371, allocations: 13.23 kB / 372.7 MB, free: 23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.2371, allocations: 5.438 kB / 372.7 MB, free: 23 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002287/0.2374, allocations: 222.4 kB / 373 MB, free: 22.92 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.2374, allocations: 1.125 kB / 373 MB, free: 22.92 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005287/0.2379, allocations: 105.9 kB / 373.1 MB, free: 22.92 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 9.424e-05/0.238, allocations: 102 kB / 373.2 MB, free: 22.83 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.2391, allocations: 0.5305 MB / 373.7 MB, free: 22.61 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.2391, allocations: 0 / 373.7 MB, free: 22.61 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003852/0.2395, allocations: 342.8 kB / 374 MB, free: 22.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004417/0.24, allocations: 56.53 kB / 374.1 MB, free: 22.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009902/0.241, allocations: 0.7559 MB / 374.8 MB, free: 21.96 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001931/0.2412, allocations: 0.7816 MB / 375.6 MB, free: 21.26 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/0.2412, allocations: 21.16 kB / 375.6 MB, free: 21.25 MB / 302.1 MB Notification: Performance of SimCode: time 2.91e-07/0.2413, allocations: 0 / 375.6 MB, free: 21.25 MB / 302.1 MB Notification: Performance of Templates: time 0.008763/0.25, allocations: 6.662 MB / 382.3 MB, free: 19.96 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches