Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.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.001947/0.001947, allocations: 86.31 kB / 21.99 MB, free: 5.191 MB / 14.72 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.002037/0.002037, allocations: 161.8 kB / 25.25 MB, free: 3.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.498/1.498, allocations: 158.6 MB / 187 MB, free: 6.25 MB / 174.1 MB " [Timeout remaining time 178] 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 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.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") translateModel(Modelica.Electrical.Analog.Examples.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001825/0.001825, allocations: 56.3 kB / 299.4 MB, free: 6.824 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2094/0.2112, allocations: 49.14 MB / 348.5 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005183/0.2164, allocations: 3.628 MB / 352.2 MB, free: 11.86 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001515/0.2179, allocations: 0.8925 MB / 353.1 MB, free: 10.96 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.2181, allocations: 12 kB / 353.1 MB, free: 10.95 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002292/0.2183, allocations: 91.08 kB / 353.2 MB, free: 10.86 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003532/0.2187, allocations: 186.4 kB / 353.3 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.219, allocations: 139.8 kB / 353.5 MB, free: 10.54 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007251/0.2197, allocations: 0.6731 MB / 354.2 MB, free: 9.859 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000279/0.22, allocations: 147.5 kB / 354.3 MB, free: 9.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000319/0.2203, allocations: 266.9 kB / 354.6 MB, free: 9.449 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003624/0.2207, allocations: 254.6 kB / 354.8 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.68e-05/0.2208, allocations: 56 kB / 354.9 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.2209, allocations: 60 kB / 354.9 MB, free: 9.086 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.221, allocations: 123.5 kB / 355 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002843/0.2213, allocations: 258.8 kB / 355.3 MB, free: 8.711 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006974/0.222, allocations: 0.6442 MB / 355.9 MB, free: 8.07 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.222, allocations: 0 / 355.9 MB, free: 8.07 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.222, allocations: 0 / 355.9 MB, free: 8.07 MB / 318.1 MB Notification: Performance of Transformations before backend: time 8.235e-06/0.222, allocations: 0 / 355.9 MB, free: 8.07 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001471/0.2235, allocations: 0.8047 MB / 356.7 MB, free: 7.234 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.748e-05/0.2235, allocations: 15.92 kB / 356.8 MB, free: 7.219 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001236/0.2236, allocations: 68.56 kB / 356.8 MB, free: 7.152 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000554/0.2242, allocations: 314 kB / 357.1 MB, free: 6.82 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.992e-05/0.2243, allocations: 37.38 kB / 357.2 MB, free: 6.785 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.773e-05/0.2243, allocations: 48.38 kB / 357.2 MB, free: 6.738 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009489/0.2253, allocations: 0.6267 MB / 357.8 MB, free: 6.055 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.788e-05/0.2253, allocations: 4 kB / 357.8 MB, free: 6.051 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.711e-05/0.2253, allocations: 20 kB / 357.9 MB, free: 6.031 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.2254, allocations: 12 kB / 357.9 MB, free: 6.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006547/0.226, allocations: 328.4 kB / 358.2 MB, free: 5.699 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002584/0.2286, allocations: 1.445 MB / 359.6 MB, free: 4.176 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004715/0.2291, allocations: 253.1 kB / 359.9 MB, free: 3.91 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002448/0.2293, allocations: 133.7 kB / 360 MB, free: 3.773 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.2293, allocations: 7.938 kB / 360 MB, free: 3.766 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.796e-05/0.2294, allocations: 38.56 kB / 360.1 MB, free: 3.719 MB / 318.1 MB Notification: Performance of pre-optimization done (n=31): time 1.523e-06/0.2294, allocations: 0 / 360.1 MB, free: 3.719 MB / 318.1 MB Notification: Performance of matching and sorting (n=32): time 0.001843/0.2312, allocations: 0.8058 MB / 360.9 MB, free: 2.871 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.109e-05/0.2313, allocations: 81.11 kB / 360.9 MB, free: 2.773 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004343/0.2317, allocations: 373.5 kB / 361.3 MB, free: 2.402 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 3.173e-05/0.2317, allocations: 33.7 kB / 361.3 MB, free: 2.363 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002107/0.2319, allocations: 300 kB / 361.6 MB, free: 2.066 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.768e-05/0.232, allocations: 119 kB / 361.8 MB, free: 1.949 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001162/0.2322, allocations: 78.16 kB / 361.8 MB, free: 1.867 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.2323, allocations: 350.7 kB / 362.2 MB, free: 1.516 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.2326, allocations: 96.95 kB / 362.3 MB, free: 1.422 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003415/0.2329, allocations: 199.2 kB / 362.5 MB, free: 1.191 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005131/0.2334, allocations: 318 kB / 362.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.2334, allocations: 0 / 362.8 MB, free: 0.8438 MB / 318.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008316/0.2342, allocations: 438.7 kB / 363.2 MB, free: 412 kB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.2343, allocations: 8 kB / 363.2 MB, free: 404 kB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.2343, allocations: 7.984 kB / 363.2 MB, free: 396 kB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003305/0.2346, allocations: 89.69 kB / 363.3 MB, free: 300 kB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003209/0.2349, allocations: 75.91 kB / 363.4 MB, free: 224 kB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002708/0.2376, allocations: 2.874 MB / 366.3 MB, free: 13.14 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002556/0.2379, allocations: 15.94 kB / 366.3 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.088e-05/0.2379, allocations: 16 kB / 366.3 MB, free: 13.11 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (45): * Single equations (assignments): 43 * 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): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002046/0.2381, allocations: 165.7 kB / 366.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.035e-05/0.2382, allocations: 39.77 kB / 366.5 MB, free: 12.9 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.342e-05/0.2383, allocations: 51.31 kB / 366.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.2383, allocations: 7.938 kB / 366.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.104e-06/0.2383, allocations: 4 kB / 366.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.2383, allocations: 0 / 366.5 MB, free: 12.83 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00134/0.2397, allocations: 0.7881 MB / 367.3 MB, free: 12 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.05e-06/0.2397, allocations: 4 kB / 367.3 MB, free: 11.99 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.2398, allocations: 47.97 kB / 367.4 MB, free: 11.95 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002722/0.2401, allocations: 89.53 kB / 367.5 MB, free: 11.85 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.521e-05/0.2401, allocations: 11.98 kB / 367.5 MB, free: 11.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002715/0.2429, allocations: 2.863 MB / 370.3 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.2429, allocations: 0 / 370.3 MB, free: 8.773 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009633/0.2438, allocations: 0.6152 MB / 371 MB, free: 8.137 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.178e-05/0.2439, allocations: 43.69 kB / 371 MB, free: 8.094 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.305e-05/0.2439, allocations: 8 kB / 371 MB, free: 8.086 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003326/0.2443, allocations: 23.98 kB / 371 MB, free: 8.062 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.025e-05/0.2444, allocations: 27.86 kB / 371.1 MB, free: 8.035 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.472e-05/0.2444, allocations: 15.98 kB / 371.1 MB, free: 8.02 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0003091/0.2447, allocations: 263.2 kB / 371.3 MB, free: 7.766 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2447, allocations: 0 / 371.3 MB, free: 7.766 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0005992/0.2453, allocations: 116 kB / 371.5 MB, free: 7.652 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (inductor22.i,basicTransformer.i1,basicTransformer.i2) * 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 (26): * Single equations (assignments): 24 * 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): 2 systems {(1,5,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001584/0.2454, allocations: 103.2 kB / 371.6 MB, free: 7.543 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0009787/0.2464, allocations: 0.5012 MB / 372.1 MB, free: 7.016 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.646e-06/0.2464, allocations: 0 / 372.1 MB, free: 7.016 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006299/0.2471, allocations: 377.2 kB / 372.4 MB, free: 6.621 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004931/0.2475, allocations: 50.56 kB / 372.5 MB, free: 6.574 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001739/0.2493, allocations: 0.9628 MB / 373.4 MB, free: 5.582 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002485/0.2495, allocations: 234.2 kB / 373.7 MB, free: 5.328 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001517/0.2497, allocations: 47.2 kB / 373.7 MB, free: 5.277 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.579e-05/0.2498, allocations: 28.5 kB / 373.7 MB, free: 5.25 MB / 334.1 MB Notification: Performance of SimCode: time 5.01e-07/0.2498, allocations: 0 / 373.7 MB, free: 5.25 MB / 334.1 MB Notification: Performance of Templates: time 0.00998/0.2597, allocations: 4.445 MB / 378.2 MB, free: 0.7969 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CompareTransformers.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: 5.083681512973271]