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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008159/0.0008159, allocations: 84 kB / 21.43 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003672/0.003672, allocations: 144.8 kB / 24.68 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8151/0.8151, allocations: 173.4 MB / 201.2 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] 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=1000,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=1000,variableFilter="time|vOut.v",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 4 kB / 319.7 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.5e-05/2.734e-05, allocations: 2.281 kB / 319.7 MB, free: 5.805 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.002795/0.002822, allocations: 3.095 MB / 322.8 MB, free: 2.688 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009822/0.003804, allocations: 0.7753 MB / 323.6 MB, free: 1.91 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.003941, allocations: 4 kB / 323.6 MB, free: 1.906 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001458/0.004087, allocations: 71.3 kB / 323.7 MB, free: 1.836 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001564/0.004243, allocations: 134.8 kB / 323.8 MB, free: 1.703 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.004498, allocations: 143.7 kB / 323.9 MB, free: 1.562 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.004823, allocations: 0.5056 MB / 324.5 MB, free: 1.055 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001873/0.00501, allocations: 113.4 kB / 324.6 MB, free: 0.9414 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002382/0.005248, allocations: 291.4 kB / 324.8 MB, free: 0.6562 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.00539, allocations: 139.6 kB / 325 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 4.975e-05/0.00544, allocations: 48 kB / 325 MB, free: 484 kB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.704e-05/0.005477, allocations: 48 kB / 325.1 MB, free: 436 kB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.307e-05/0.00553, allocations: 111.6 kB / 325.2 MB, free: 324 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 9.067e-05/0.005621, allocations: 151.7 kB / 325.3 MB, free: 172 kB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003894/0.00601, allocations: 0.5763 MB / 325.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.006014, allocations: 0 / 325.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.282e-06/0.006015, allocations: 0 / 325.9 MB, free: 15.59 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.00602, allocations: 0 / 325.9 MB, free: 15.59 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: 87 * Number of variables: 87 Notification: Performance of Generate backend data structure: time 0.000743/0.006763, allocations: 0.6301 MB / 326.5 MB, free: 14.93 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.518e-05/0.006798, allocations: 8.922 kB / 326.5 MB, free: 14.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.199e-05/0.00686, allocations: 48.66 kB / 326.6 MB, free: 14.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003179/0.007178, allocations: 258 kB / 326.8 MB, free: 14.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.0072, allocations: 29.38 kB / 326.9 MB, free: 14.56 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.327e-05/0.007233, allocations: 32.38 kB / 326.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004704/0.007703, allocations: 493.6 kB / 327.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.007714, allocations: 3.938 kB / 327.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.634e-05/0.007741, allocations: 19.94 kB / 327.4 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.007748, allocations: 11.94 kB / 327.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003554/0.008103, allocations: 299.9 kB / 327.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.009354, allocations: 1.234 MB / 329 MB, free: 12.38 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003706/0.009724, allocations: 222.6 kB / 329.2 MB, free: 12.15 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001165/0.009841, allocations: 92.81 kB / 329.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.009859, allocations: 4 kB / 329.3 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.882e-05/0.009878, allocations: 30.56 kB / 329.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.009879, allocations: 0 / 329.3 MB, free: 12.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=16): time 0.001118/0.011, allocations: 0.6135 MB / 329.9 MB, free: 11.39 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.894e-05/0.01103, allocations: 55.41 kB / 330 MB, free: 11.32 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002015/0.01123, allocations: 277.8 kB / 330.2 MB, free: 11.04 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.01124, allocations: 29.7 kB / 330.3 MB, free: 11 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.01134, allocations: 228.1 kB / 330.5 MB, free: 10.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.01137, allocations: 67.41 kB / 330.6 MB, free: 10.71 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.545e-05/0.01143, allocations: 53.7 kB / 330.6 MB, free: 10.65 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.257e-05/0.01151, allocations: 338.8 kB / 330.9 MB, free: 10.31 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001177/0.01163, allocations: 83.95 kB / 331 MB, free: 10.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001424/0.01177, allocations: 157.4 kB / 331.2 MB, free: 10.04 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002537/0.01203, allocations: 249.2 kB / 331.4 MB, free: 9.762 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.01203, allocations: 4 kB / 331.4 MB, free: 9.758 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005275/0.01256, allocations: 415 kB / 331.8 MB, free: 9.34 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.01257, allocations: 8 kB / 331.8 MB, free: 9.332 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.232e-06/0.01258, allocations: 7.938 kB / 331.8 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002813/0.01286, allocations: 117.7 kB / 332 MB, free: 9.203 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.755e-05/0.01295, allocations: 39.92 kB / 332 MB, free: 9.164 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00232/0.01527, allocations: 3.281 MB / 335.3 MB, free: 5.68 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.01538, allocations: 39.77 kB / 335.3 MB, free: 5.641 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.0154, allocations: 12 kB / 335.3 MB, free: 5.629 MB / 298.7 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.0001206/0.01552, allocations: 157.8 kB / 335.5 MB, free: 5.465 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.01555, allocations: 27.84 kB / 335.5 MB, free: 5.438 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.627e-05/0.01557, allocations: 30.06 kB / 335.5 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.01557, allocations: 0 / 335.5 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.01558, allocations: 0 / 335.5 MB, free: 5.414 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.01558, allocations: 7.984 kB / 335.5 MB, free: 5.406 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.01577, allocations: 253 kB / 335.8 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.01577, allocations: 0 / 335.8 MB, free: 5.129 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.642e-05/0.01581, allocations: 12 kB / 335.8 MB, free: 5.117 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001927/0.016, allocations: 117.7 kB / 335.9 MB, free: 4.996 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.01601, allocations: 3.984 kB / 335.9 MB, free: 4.992 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001935/0.01795, allocations: 3.199 MB / 339.1 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01795, allocations: 0 / 339.1 MB, free: 1.59 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004572/0.01841, allocations: 432.7 kB / 339.5 MB, free: 1.145 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002763/0.01868, allocations: 31.81 kB / 339.6 MB, free: 1.113 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.485e-05/0.0187, allocations: 3.984 kB / 339.6 MB, free: 1.109 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.0188, allocations: 23.98 kB / 339.6 MB, free: 1.086 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.444e-05/0.01885, allocations: 19.97 kB / 339.6 MB, free: 1.066 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.01885, allocations: 192 / 339.6 MB, free: 1.066 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001225/0.01898, allocations: 197.2 kB / 339.8 MB, free: 0.875 MB / 298.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01898, allocations: 0 / 339.8 MB, free: 0.875 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003412/0.01932, allocations: 103.8 kB / 339.9 MB, free: 0.7734 MB / 298.7 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 0.0001042/0.01942, allocations: 103.2 kB / 340 MB, free: 0.6641 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0006197/0.02004, allocations: 0.5042 MB / 340.5 MB, free: 140 kB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.02004, allocations: 0.5 kB / 340.5 MB, free: 140 kB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002292/0.02027, allocations: 345.2 kB / 340.9 MB, free: 15.77 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002743/0.02055, allocations: 51.06 kB / 340.9 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007405/0.02129, allocations: 0.5712 MB / 341.5 MB, free: 15.12 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001054/0.02139, allocations: 176.8 kB / 341.6 MB, free: 14.93 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.227e-05/0.02143, allocations: 20.5 kB / 341.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of SimCode: time 5.71e-07/0.02143, allocations: 0 / 341.7 MB, free: 14.91 MB / 314.7 MB Notification: Performance of Templates: time 0.005686/0.02712, allocations: 6.685 MB / 348.4 MB, free: 8.223 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.364784107543528]