Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00153/0.00153, allocations: 83.75 kB / 21.19 MB, free: 3.375 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 161 kB / 24.55 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.041/1.041, allocations: 177.1 MB / 205 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 0 / 273 MB, free: 1.504 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.904e-05/3.166e-05, allocations: 6.312 kB / 273 MB, free: 1.496 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.003922/0.003954, allocations: 3.386 MB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001601/0.005554, allocations: 0.8454 MB / 277.3 MB, free: 13.24 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002204/0.005775, allocations: 11.94 kB / 277.3 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000187/0.005962, allocations: 71.3 kB / 277.3 MB, free: 13.16 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002205/0.006182, allocations: 126.9 kB / 277.5 MB, free: 13.04 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004055/0.006587, allocations: 143.8 kB / 277.6 MB, free: 12.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004943/0.007082, allocations: 0.5134 MB / 278.1 MB, free: 12.38 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002357/0.007317, allocations: 121.3 kB / 278.2 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004663/0.007784, allocations: 287.4 kB / 278.5 MB, free: 11.98 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.008027, allocations: 155.6 kB / 278.7 MB, free: 11.82 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.478e-05/0.008082, allocations: 55.94 kB / 278.7 MB, free: 11.77 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.515e-05/0.008167, allocations: 48 kB / 278.8 MB, free: 11.72 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.025e-05/0.008227, allocations: 111.6 kB / 278.9 MB, free: 11.61 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000116/0.008343, allocations: 151.7 kB / 279 MB, free: 11.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000358/0.008701, allocations: 318.9 kB / 279.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.008704, allocations: 4 kB / 279.3 MB, free: 11.15 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.362e-06/0.008706, allocations: 4 kB / 279.3 MB, free: 11.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.254e-06/0.008713, allocations: 0 / 279.3 MB, free: 11.14 MB / 266.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.0007604/0.009473, allocations: 0.726 MB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.00951, allocations: 8.031 kB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001793/0.00969, allocations: 84.66 kB / 280.2 MB, free: 10.29 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003096/0.009999, allocations: 276.7 kB / 280.4 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.298e-05/0.01002, allocations: 29.38 kB / 280.5 MB, free: 9.961 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.01006, allocations: 36.38 kB / 280.5 MB, free: 9.926 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007285/0.01079, allocations: 411.9 kB / 280.9 MB, free: 9.484 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.668e-05/0.0108, allocations: 3.938 kB / 280.9 MB, free: 9.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.816e-05/0.01083, allocations: 20 kB / 280.9 MB, free: 9.461 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.434e-05/0.01085, allocations: 8 kB / 280.9 MB, free: 9.453 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002325/0.01108, allocations: 133.9 kB / 281.1 MB, free: 9.32 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001432/0.01251, allocations: 1.294 MB / 282.4 MB, free: 7.945 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002958/0.01281, allocations: 147.3 kB / 282.5 MB, free: 7.789 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.032e-05/0.01288, allocations: 47.61 kB / 282.5 MB, free: 7.738 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.576e-05/0.0129, allocations: 4 kB / 282.5 MB, free: 7.734 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.755e-05/0.01293, allocations: 37.39 kB / 282.6 MB, free: 7.688 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 1.603e-06/0.01293, allocations: 4 kB / 282.6 MB, free: 7.684 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.000836/0.01377, allocations: 384.7 kB / 283 MB, free: 7.293 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.807e-05/0.0138, allocations: 55.41 kB / 283 MB, free: 7.227 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.01401, allocations: 316.2 kB / 283.3 MB, free: 6.902 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.891e-05/0.01403, allocations: 29.7 kB / 283.4 MB, free: 6.867 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001245/0.01416, allocations: 282.8 kB / 283.6 MB, free: 6.586 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.577e-05/0.01419, allocations: 59.53 kB / 283.7 MB, free: 6.527 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.93e-05/0.01426, allocations: 51.36 kB / 283.7 MB, free: 6.469 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001604/0.01442, allocations: 0.5117 MB / 284.3 MB, free: 5.945 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.37e-05/0.01448, allocations: 31.98 kB / 284.3 MB, free: 5.914 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.0146, allocations: 140.5 kB / 284.4 MB, free: 5.73 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001876/0.01479, allocations: 187.7 kB / 284.6 MB, free: 5.504 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.0148, allocations: 4 kB / 284.6 MB, free: 5.5 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0004225/0.01522, allocations: 296.4 kB / 284.9 MB, free: 5.195 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.01523, allocations: 8 kB / 284.9 MB, free: 5.188 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.01524, allocations: 4.297 kB / 284.9 MB, free: 5.184 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004205/0.01566, allocations: 119.3 kB / 285 MB, free: 5.059 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.984e-05/0.01576, allocations: 43.92 kB / 285.1 MB, free: 5.016 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002608/0.01837, allocations: 4.01 MB / 289.1 MB, free: 0.7695 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001161/0.01849, allocations: 23.84 kB / 289.1 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.0185, allocations: 12 kB / 289.1 MB, free: 0.7344 MB / 266.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.0001072/0.01861, allocations: 180.5 kB / 289.3 MB, free: 0.5469 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.578e-05/0.01864, allocations: 31.86 kB / 289.3 MB, free: 0.5156 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/0.01868, allocations: 22.12 kB / 289.3 MB, free: 500 kB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01868, allocations: 11.92 kB / 289.4 MB, free: 488 kB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.01868, allocations: 0 / 289.4 MB, free: 488 kB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.01869, allocations: 0 / 289.4 MB, free: 488 kB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.01889, allocations: 248.4 kB / 289.6 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.01889, allocations: 4 kB / 289.6 MB, free: 200 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.695e-05/0.01893, allocations: 12 kB / 289.6 MB, free: 188 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002555/0.01918, allocations: 115.3 kB / 289.7 MB, free: 64 kB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.01919, allocations: 4 kB / 289.7 MB, free: 60 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001828/0.02102, allocations: 3.94 MB / 293.7 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.02102, allocations: 0 / 293.7 MB, free: 11.87 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003149/0.02134, allocations: 362.8 kB / 294 MB, free: 11.49 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.02137, allocations: 35.73 kB / 294.1 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.29e-05/0.02138, allocations: 4.031 kB / 294.1 MB, free: 11.45 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.768e-05/0.02148, allocations: 23.98 kB / 294.1 MB, free: 11.43 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.02153, allocations: 11.97 kB / 294.1 MB, free: 11.41 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.818e-06/0.02154, allocations: 8 kB / 294.1 MB, free: 11.41 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001205/0.02166, allocations: 213.1 kB / 294.3 MB, free: 11.2 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02166, allocations: 0 / 294.3 MB, free: 11.2 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003382/0.022, allocations: 103.8 kB / 294.4 MB, free: 11.1 MB / 282.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.0001079/0.0221, allocations: 103.2 kB / 294.5 MB, free: 10.99 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0007591/0.02286, allocations: 0.5106 MB / 295 MB, free: 10.45 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.02287, allocations: 4.062 kB / 295 MB, free: 10.44 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.02308, allocations: 419.2 kB / 295.4 MB, free: 9.992 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000272/0.02335, allocations: 36.47 kB / 295.5 MB, free: 9.957 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001016/0.02437, allocations: 0.5493 MB / 296 MB, free: 9.379 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.309e-05/0.02443, allocations: 92.3 kB / 296.1 MB, free: 9.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 6.994e-05/0.0245, allocations: 30.27 kB / 296.1 MB, free: 9.238 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.02454, allocations: 16.5 kB / 296.2 MB, free: 9.223 MB / 282.7 MB Notification: Performance of SimCode: time 7.52e-07/0.02454, allocations: 0 / 296.2 MB, free: 9.223 MB / 282.7 MB Notification: Performance of Templates: time 0.006245/0.03078, allocations: 3.693 MB / 299.9 MB, free: 5.582 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.OpAmps.Subtracter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/OpAmps/Subtracter/Subtracter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.2058105119504035]