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.00156/0.00156, allocations: 84.66 kB / 20.95 MB, free: 3.453 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.001727/0.001727, allocations: 153.1 kB / 24.25 MB, free: 160 kB / 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 1.528/1.528, allocations: 173.4 MB / 200.8 MB, free: 9.297 MB / 186.7 MB " [Timeout remaining time 178] 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 3.687e-06/3.687e-06, allocations: 0 / 267.4 MB, free: 6.672 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.673e-05/4.042e-05, allocations: 2.312 kB / 267.4 MB, free: 6.668 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.OpAmps.Subtracter): time 0.0112/0.01124, allocations: 3.106 MB / 270.5 MB, free: 3.539 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004166/0.0154, allocations: 0.7753 MB / 271.2 MB, free: 2.762 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007879/0.01619, allocations: 8 kB / 271.3 MB, free: 2.754 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006383/0.01683, allocations: 75.34 kB / 271.3 MB, free: 2.68 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008644/0.01769, allocations: 126.8 kB / 271.5 MB, free: 2.555 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008042/0.0185, allocations: 147.7 kB / 271.6 MB, free: 2.41 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001393/0.01989, allocations: 0.5016 MB / 272.1 MB, free: 1.906 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004996/0.02039, allocations: 125.3 kB / 272.2 MB, free: 1.781 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009171/0.02131, allocations: 279.5 kB / 272.5 MB, free: 1.508 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005197/0.02183, allocations: 151.5 kB / 272.6 MB, free: 1.359 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002038/0.02203, allocations: 52 kB / 272.7 MB, free: 1.309 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001771/0.02221, allocations: 48 kB / 272.7 MB, free: 1.262 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000183/0.02239, allocations: 99.59 kB / 272.8 MB, free: 1.164 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004663/0.02286, allocations: 155.6 kB / 273 MB, free: 1.012 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001674/0.02453, allocations: 0.5725 MB / 273.6 MB, free: 448 kB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.02454, allocations: 3.938 kB / 273.6 MB, free: 444 kB / 250.7 MB Notification: Performance of FrontEnd: time 3.085e-06/0.02454, allocations: 0 / 273.6 MB, free: 444 kB / 250.7 MB Notification: Performance of Transformations before backend: time 2.534e-05/0.02457, allocations: 0 / 273.6 MB, free: 444 kB / 250.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.002918/0.02748, allocations: 0.6262 MB / 274.2 MB, free: 15.78 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.716e-05/0.02756, allocations: 12.91 kB / 274.2 MB, free: 15.77 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003253/0.02789, allocations: 76.66 kB / 274.3 MB, free: 15.69 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.02894, allocations: 266 kB / 274.5 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.192e-05/0.02902, allocations: 29.38 kB / 274.6 MB, free: 15.37 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.02914, allocations: 32.38 kB / 274.6 MB, free: 15.34 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001727/0.03086, allocations: 497.5 kB / 275.1 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.03089, allocations: 3.938 kB / 275.1 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.014e-05/0.03097, allocations: 16 kB / 275.1 MB, free: 14.8 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.309e-05/0.031, allocations: 8 kB / 275.1 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.03237, allocations: 295.9 kB / 275.4 MB, free: 14.5 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00427/0.03664, allocations: 1.253 MB / 276.7 MB, free: 13.17 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.0378, allocations: 226.7 kB / 276.9 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00031/0.03811, allocations: 88.81 kB / 277 MB, free: 12.85 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.539e-05/0.03814, allocations: 4 kB / 277 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.678e-05/0.0382, allocations: 38.5 kB / 277 MB, free: 12.8 MB / 266.7 MB Notification: Performance of pre-optimization done (n=16): time 3.457e-06/0.0382, allocations: 0 / 277 MB, free: 12.8 MB / 266.7 MB Notification: Performance of matching and sorting (n=16): time 0.003809/0.04201, allocations: 0.6037 MB / 277.6 MB, free: 12.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.833e-05/0.04211, allocations: 55.69 kB / 277.7 MB, free: 12.12 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006559/0.04276, allocations: 285.8 kB / 277.9 MB, free: 11.83 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.012e-05/0.04281, allocations: 25.7 kB / 278 MB, free: 11.8 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003581/0.04317, allocations: 240 kB / 278.2 MB, free: 11.56 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.648e-05/0.04327, allocations: 55.48 kB / 278.3 MB, free: 11.51 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001696/0.04344, allocations: 49.7 kB / 278.3 MB, free: 11.45 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002701/0.04371, allocations: 338.8 kB / 278.6 MB, free: 11.11 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003632/0.04407, allocations: 75.97 kB / 278.7 MB, free: 11.04 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000669/0.04474, allocations: 173.3 kB / 278.9 MB, free: 10.84 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007715/0.04551, allocations: 241.2 kB / 279.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.04552, allocations: 7.938 kB / 279.1 MB, free: 10.56 MB / 266.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00168/0.0472, allocations: 434 kB / 279.5 MB, free: 10.12 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.85e-05/0.04724, allocations: 8 kB / 279.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.571e-05/0.04725, allocations: 0 / 279.6 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001415/0.04867, allocations: 185.6 kB / 279.7 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002049/0.04887, allocations: 39.91 kB / 279.8 MB, free: 9.891 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005583/0.05446, allocations: 3.292 MB / 283.1 MB, free: 6.395 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.0548, allocations: 39.8 kB / 283.1 MB, free: 6.355 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.573e-05/0.05484, allocations: 11.94 kB / 283.1 MB, free: 6.344 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.0002725/0.05512, allocations: 149.8 kB / 283.3 MB, free: 6.188 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.633e-05/0.05521, allocations: 35.84 kB / 283.3 MB, free: 6.152 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.776e-05/0.05528, allocations: 26.12 kB / 283.3 MB, free: 6.129 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.05528, allocations: 4.062 kB / 283.3 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.05529, allocations: 0 / 283.3 MB, free: 6.125 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.05529, allocations: 7.984 kB / 283.3 MB, free: 6.117 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004745/0.05577, allocations: 253 kB / 283.6 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.05577, allocations: 0 / 283.6 MB, free: 5.84 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.299e-05/0.05587, allocations: 12 kB / 283.6 MB, free: 5.828 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008313/0.0567, allocations: 189.8 kB / 283.8 MB, free: 5.637 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.05671, allocations: 4 kB / 283.8 MB, free: 5.633 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004715/0.06143, allocations: 3.214 MB / 287 MB, free: 2.215 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-06/0.06144, allocations: 8.031 kB / 287 MB, free: 2.207 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001131/0.06257, allocations: 420.8 kB / 287.4 MB, free: 1.773 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.309e-05/0.06266, allocations: 39.67 kB / 287.5 MB, free: 1.734 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.976e-05/0.06271, allocations: 0 / 287.5 MB, free: 1.734 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002619/0.06297, allocations: 27.98 kB / 287.5 MB, free: 1.707 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002278/0.0632, allocations: 15.97 kB / 287.5 MB, free: 1.691 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.646e-05/0.06323, allocations: 4 kB / 287.5 MB, free: 1.688 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002954/0.06352, allocations: 197.2 kB / 287.7 MB, free: 1.492 MB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.06352, allocations: 0 / 287.7 MB, free: 1.492 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0006211/0.06415, allocations: 103.8 kB / 287.8 MB, free: 1.391 MB / 266.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.0001839/0.06433, allocations: 103.2 kB / 287.9 MB, free: 1.281 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.001407/0.06574, allocations: 0.5087 MB / 288.4 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.06574, allocations: 0 / 288.4 MB, free: 0.7461 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005553/0.0663, allocations: 345.5 kB / 288.7 MB, free: 392 kB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004729/0.06677, allocations: 47.36 kB / 288.8 MB, free: 348 kB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.06843, allocations: 0.5583 MB / 289.3 MB, free: 15.75 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002715/0.0687, allocations: 172.8 kB / 289.5 MB, free: 15.57 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001307/0.06883, allocations: 22.28 kB / 289.5 MB, free: 15.54 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.919e-05/0.06889, allocations: 20.5 kB / 289.6 MB, free: 15.52 MB / 282.7 MB Notification: Performance of SimCode: time 1.123e-06/0.06889, allocations: 0 / 289.6 MB, free: 15.52 MB / 282.7 MB Notification: Performance of Templates: time 0.01032/0.0792, allocations: 3.612 MB / 293.2 MB, free: 11.96 MB / 282.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.693824781104922]