Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001277/0.001277, allocations: 112.5 kB / 21.19 MB, free: 0.7578 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.001371/0.001371, allocations: 205.9 kB / 24.49 MB, free: 4.145 MB / 14.72 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.406/1.406, allocations: 230.6 MB / 258.3 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] 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.CompareTransformers,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|basicTransformer.i1|basicTransformer.i2|inductor22.i",fileNamePrefix="Modelica_4.1.0_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_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 43.94 kB / 379.1 MB, free: 2.578 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2222, allocations: 53.36 MB / 432.4 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005468/0.2277, allocations: 4.151 MB / 436.6 MB, free: 2.738 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001792/0.2295, allocations: 0.9619 MB / 437.5 MB, free: 1.77 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002255/0.2297, allocations: 15.94 kB / 437.6 MB, free: 1.754 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002319/0.2299, allocations: 87.08 kB / 437.6 MB, free: 1.668 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003521/0.2303, allocations: 194.4 kB / 437.8 MB, free: 1.477 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.2307, allocations: 159.7 kB / 438 MB, free: 1.32 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000716/0.2314, allocations: 0.6732 MB / 438.7 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002733/0.2317, allocations: 143.7 kB / 438.8 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003703/0.232, allocations: 275 kB / 439.1 MB, free: 232 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003862/0.2324, allocations: 294.6 kB / 439.4 MB, free: 15.94 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.84e-05/0.2325, allocations: 56 kB / 439.4 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001242/0.2326, allocations: 60 kB / 439.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001112/0.2327, allocations: 131.5 kB / 439.6 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002708/0.233, allocations: 306.4 kB / 439.9 MB, free: 15.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007089/0.2337, allocations: 0.6508 MB / 440.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.551e-06/0.2337, allocations: 3.984 kB / 440.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.2337, allocations: 0 / 440.6 MB, free: 14.74 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.846e-06/0.2337, allocations: 0 / 440.6 MB, free: 14.74 MB / 350.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.001449/0.2352, allocations: 0.8047 MB / 441.4 MB, free: 13.91 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.928e-05/0.2352, allocations: 12.03 kB / 441.4 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002885/0.2355, allocations: 92.48 kB / 441.5 MB, free: 13.8 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005465/0.2361, allocations: 314.1 kB / 441.8 MB, free: 13.47 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.021e-05/0.2361, allocations: 37.38 kB / 441.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.861e-05/0.2362, allocations: 52.33 kB / 441.9 MB, free: 13.38 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007811/0.237, allocations: 487.5 kB / 442.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.237, allocations: 0 / 442.3 MB, free: 12.9 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.237, allocations: 20 kB / 442.3 MB, free: 12.88 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.237, allocations: 12 kB / 442.4 MB, free: 12.87 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000615/0.2376, allocations: 332.4 kB / 442.7 MB, free: 12.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002665/0.2403, allocations: 1.638 MB / 444.3 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004609/0.2408, allocations: 253 kB / 444.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.241, allocations: 129.7 kB / 444.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.633e-05/0.241, allocations: 7.984 kB / 444.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.2411, allocations: 38.56 kB / 444.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.482e-06/0.2411, allocations: 0 / 444.7 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001805/0.2429, allocations: 0.8122 MB / 445.6 MB, free: 9.512 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.2429, allocations: 89.09 kB / 445.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004319/0.2433, allocations: 389.6 kB / 446 MB, free: 9.02 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.2434, allocations: 29.7 kB / 446.1 MB, free: 8.984 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.2436, allocations: 300.1 kB / 446.3 MB, free: 8.688 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.729e-05/0.2437, allocations: 111.1 kB / 446.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.2438, allocations: 82.08 kB / 446.5 MB, free: 8.492 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000177/0.244, allocations: 350.7 kB / 446.9 MB, free: 8.141 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.2442, allocations: 100.8 kB / 447 MB, free: 8.039 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002773/0.2445, allocations: 198.5 kB / 447.2 MB, free: 7.812 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004842/0.2449, allocations: 300.5 kB / 447.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2449, allocations: 0 / 447.5 MB, free: 7.484 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008376/0.2458, allocations: 448.2 kB / 447.9 MB, free: 7.035 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.2458, allocations: 8 kB / 447.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.2458, allocations: 0 / 447.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000327/0.2461, allocations: 81.97 kB / 448 MB, free: 6.941 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003202/0.2465, allocations: 83.83 kB / 448.1 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002691/0.2491, allocations: 2.928 MB / 451 MB, free: 3.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002827/0.2494, allocations: 23.92 kB / 451 MB, free: 3.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.515e-05/0.2495, allocations: 12 kB / 451 MB, free: 3.668 MB / 350.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.0002235/0.2497, allocations: 162 kB / 451.2 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.558e-05/0.2498, allocations: 51.69 kB / 451.2 MB, free: 3.449 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.885e-05/0.2498, allocations: 43.39 kB / 451.3 MB, free: 3.406 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.2499, allocations: 12.06 kB / 451.3 MB, free: 3.395 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.195e-05/0.2499, allocations: 7.938 kB / 451.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.2499, allocations: 0 / 451.3 MB, free: 3.387 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.2513, allocations: 0.9109 MB / 452.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.2513, allocations: 0 / 452.2 MB, free: 2.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001947/0.2515, allocations: 55.91 kB / 452.3 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002712/0.2518, allocations: 73.64 kB / 452.3 MB, free: 2.289 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.074e-05/0.2518, allocations: 4 kB / 452.3 MB, free: 2.285 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002525/0.2543, allocations: 2.932 MB / 455.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.2543, allocations: 4.031 kB / 455.3 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009428/0.2553, allocations: 0.603 MB / 455.9 MB, free: 14.49 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.984e-05/0.2554, allocations: 47.81 kB / 455.9 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.03e-05/0.2554, allocations: 11.92 kB / 455.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003483/0.2558, allocations: 27.98 kB / 456 MB, free: 14.41 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.448e-05/0.2558, allocations: 27.95 kB / 456 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.398e-05/0.2559, allocations: 15.98 kB / 456 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003077/0.2562, allocations: 267.2 kB / 456.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2562, allocations: 0 / 456.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005614/0.2567, allocations: 116 kB / 456.4 MB, free: 13.99 MB / 366.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.0001398/0.2569, allocations: 119.7 kB / 456.5 MB, free: 13.87 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000908/0.2578, allocations: 0.4885 MB / 457 MB, free: 13.36 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.856e-06/0.2578, allocations: 3.938 kB / 457 MB, free: 13.35 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006044/0.2584, allocations: 385.8 kB / 457.4 MB, free: 12.95 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005071/0.2589, allocations: 65.39 kB / 457.4 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.2606, allocations: 0.9951 MB / 458.4 MB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004612/0.2611, allocations: 0.8392 MB / 459.3 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001025/0.2612, allocations: 35.42 kB / 459.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of SimCode: time 6.32e-07/0.2612, allocations: 0 / 459.3 MB, free: 10.95 MB / 366.1 MB Notification: Performance of Templates: time 0.01211/0.2733, allocations: 9.026 MB / 468.3 MB, free: 1.934 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CompareTransformers/CompareTransformers.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_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: 7.931212772848085]