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.00134/0.00134, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.001437/0.001437, allocations: 210 kB / 24.47 MB, free: 3.941 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.586/1.586, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.0016/0.0016, allocations: 47.92 kB / 379 MB, free: 2.422 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2406/0.2422, allocations: 53.38 MB / 432.4 MB, free: 6.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005484/0.2477, allocations: 3.706 MB / 436.1 MB, free: 2.961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001904/0.2496, allocations: 0.9229 MB / 437 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002307/0.2498, allocations: 11.94 kB / 437 MB, free: 2.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002318/0.2501, allocations: 95.06 kB / 437.1 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003713/0.2504, allocations: 198.4 kB / 437.3 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004263/0.2509, allocations: 155.7 kB / 437.5 MB, free: 1.578 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007382/0.2516, allocations: 0.6694 MB / 438.1 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002798/0.2519, allocations: 143.4 kB / 438.3 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003922/0.2523, allocations: 275 kB / 438.5 MB, free: 0.4922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003657/0.2526, allocations: 254.7 kB / 438.8 MB, free: 248 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.788e-05/0.2527, allocations: 56 kB / 438.8 MB, free: 192 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001358/0.2529, allocations: 56 kB / 438.9 MB, free: 136 kB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001229/0.253, allocations: 135.4 kB / 439 MB, free: 0 / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002834/0.2533, allocations: 251 kB / 439.3 MB, free: 15.75 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007577/0.254, allocations: 0.6525 MB / 439.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.254, allocations: 4 kB / 439.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.254, allocations: 0 / 439.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.577e-05/0.254, allocations: 0 / 439.9 MB, free: 15.09 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.001485/0.2555, allocations: 0.8086 MB / 440.7 MB, free: 14.25 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.318e-05/0.2556, allocations: 12.03 kB / 440.7 MB, free: 14.24 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002912/0.2558, allocations: 88.48 kB / 440.8 MB, free: 14.16 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005641/0.2564, allocations: 314.1 kB / 441.1 MB, free: 13.82 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.147e-05/0.2565, allocations: 37.38 kB / 441.2 MB, free: 13.79 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.012e-05/0.2565, allocations: 52.33 kB / 441.2 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009196/0.2575, allocations: 0.6345 MB / 441.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.2575, allocations: 0 / 441.9 MB, free: 13.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.684e-05/0.2575, allocations: 20 kB / 441.9 MB, free: 13.03 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.2575, allocations: 12 kB / 441.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006494/0.2582, allocations: 328.4 kB / 442.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002648/0.2608, allocations: 1.448 MB / 443.7 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004861/0.2613, allocations: 261 kB / 443.9 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002385/0.2616, allocations: 129.7 kB / 444 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.265e-05/0.2616, allocations: 4 kB / 444 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.494e-05/0.2616, allocations: 42.56 kB / 444.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.633e-06/0.2616, allocations: 3.938 kB / 444.1 MB, free: 10.71 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001869/0.2635, allocations: 0.812 MB / 444.9 MB, free: 9.859 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.249e-05/0.2636, allocations: 81.11 kB / 445 MB, free: 9.762 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004435/0.264, allocations: 381.5 kB / 445.4 MB, free: 9.383 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.151e-05/0.2641, allocations: 33.7 kB / 445.4 MB, free: 9.344 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002206/0.2643, allocations: 292.1 kB / 445.7 MB, free: 9.055 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.826e-05/0.2644, allocations: 122.9 kB / 445.8 MB, free: 8.934 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.2645, allocations: 74.09 kB / 445.9 MB, free: 8.855 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001793/0.2647, allocations: 354.7 kB / 446.2 MB, free: 8.5 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002276/0.2649, allocations: 100.8 kB / 446.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000292/0.2652, allocations: 190.6 kB / 446.5 MB, free: 8.18 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005138/0.2657, allocations: 306.1 kB / 446.8 MB, free: 7.844 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2657, allocations: 0 / 446.8 MB, free: 7.844 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008836/0.2666, allocations: 448.1 kB / 447.2 MB, free: 7.398 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.2666, allocations: 4.312 kB / 447.2 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.2666, allocations: 8 kB / 447.2 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003494/0.267, allocations: 77.66 kB / 447.3 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.2673, allocations: 79.84 kB / 447.4 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002728/0.27, allocations: 2.87 MB / 450.3 MB, free: 4.152 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.2703, allocations: 16.16 kB / 450.3 MB, free: 4.137 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.839e-05/0.2703, allocations: 20 kB / 450.3 MB, free: 4.117 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.0002265/0.2705, allocations: 165.7 kB / 450.5 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.473e-05/0.2706, allocations: 47.72 kB / 450.5 MB, free: 3.898 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.649e-05/0.2707, allocations: 43.3 kB / 450.6 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.2707, allocations: 7.938 kB / 450.6 MB, free: 3.848 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.2707, allocations: 3.984 kB / 450.6 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2707, allocations: 0 / 450.6 MB, free: 3.844 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001369/0.2721, allocations: 0.8131 MB / 451.4 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2721, allocations: 0 / 451.4 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000192/0.2723, allocations: 47.91 kB / 451.4 MB, free: 2.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002702/0.2726, allocations: 85.59 kB / 451.5 MB, free: 2.855 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.2726, allocations: 4 kB / 451.5 MB, free: 2.852 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002665/0.2752, allocations: 2.863 MB / 454.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.2752, allocations: 3.984 kB / 454.4 MB, free: 15.78 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009826/0.2762, allocations: 0.6067 MB / 455 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-05/0.2763, allocations: 39.8 kB / 455 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.554e-05/0.2764, allocations: 4 kB / 455 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003353/0.2767, allocations: 36.03 kB / 455.1 MB, free: 15.07 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.851e-05/0.2768, allocations: 23.95 kB / 455.1 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.441e-05/0.2768, allocations: 12.09 kB / 455.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00031/0.2771, allocations: 259.2 kB / 455.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2771, allocations: 0 / 455.4 MB, free: 14.79 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005851/0.2777, allocations: 119.9 kB / 455.5 MB, free: 14.67 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.0001527/0.2778, allocations: 123.3 kB / 455.6 MB, free: 14.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009422/0.2788, allocations: 0.4981 MB / 456.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2788, allocations: 128 / 456.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006175/0.2794, allocations: 377.1 kB / 456.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004828/0.2799, allocations: 53.47 kB / 456.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001871/0.2817, allocations: 0.9918 MB / 457.5 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.282, allocations: 238.2 kB / 457.7 MB, free: 12.28 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.2821, allocations: 31.44 kB / 457.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of SimCode: time 7.91e-07/0.2821, allocations: 0 / 457.8 MB, free: 12.25 MB / 366.1 MB Notification: Performance of Templates: time 0.01274/0.2949, allocations: 9.085 MB / 466.8 MB, free: 3.168 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: 8.483579739928246]