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.001239/0.001239, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001434/0.001434, allocations: 205.4 kB / 23.73 MB, free: 4.379 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.394/1.394, allocations: 230.6 MB / 257.5 MB, free: 7.738 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 55.92 kB / 377.8 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2444/0.2459, allocations: 53.36 MB / 431.1 MB, free: 6.605 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005268/0.2512, allocations: 3.704 MB / 434.8 MB, free: 2.891 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0019/0.2531, allocations: 0.9346 MB / 435.8 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002236/0.2533, allocations: 11.94 kB / 435.8 MB, free: 1.938 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002547/0.2536, allocations: 95.06 kB / 435.9 MB, free: 1.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003806/0.2539, allocations: 190.4 kB / 436 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004744/0.2544, allocations: 159.7 kB / 436.2 MB, free: 1.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000745/0.2552, allocations: 0.6771 MB / 436.9 MB, free: 0.8203 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000295/0.2555, allocations: 145.4 kB / 437 MB, free: 0.6719 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003838/0.2558, allocations: 271 kB / 437.3 MB, free: 416 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003805/0.2562, allocations: 290.6 kB / 437.6 MB, free: 124 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.366e-05/0.2563, allocations: 56 kB / 437.6 MB, free: 68 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001201/0.2564, allocations: 67.98 kB / 437.7 MB, free: 0 / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001324/0.2566, allocations: 127.5 kB / 437.8 MB, free: 15.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002545/0.2568, allocations: 254.8 kB / 438.1 MB, free: 15.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007486/0.2576, allocations: 0.6535 MB / 438.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.2576, allocations: 0 / 438.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2576, allocations: 0 / 438.7 MB, free: 14.97 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.2576, allocations: 0 / 438.7 MB, free: 14.97 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.259, allocations: 0.8047 MB / 439.5 MB, free: 14.13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.2591, allocations: 12.03 kB / 439.5 MB, free: 14.12 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001636/0.2592, allocations: 99.97 kB / 439.6 MB, free: 14.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002855/0.2595, allocations: 92.48 kB / 439.7 MB, free: 13.92 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006341/0.2602, allocations: 330 kB / 440 MB, free: 13.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.589e-05/0.2602, allocations: 37.69 kB / 440.1 MB, free: 13.54 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.281e-05/0.2603, allocations: 56.31 kB / 440.1 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009687/0.2612, allocations: 0.6462 MB / 440.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.2613, allocations: 0 / 440.8 MB, free: 12.79 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.628e-05/0.2613, allocations: 20 kB / 440.8 MB, free: 12.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.2613, allocations: 16 kB / 440.8 MB, free: 12.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006505/0.262, allocations: 344.4 kB / 441.2 MB, free: 12.42 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002734/0.2647, allocations: 1.549 MB / 442.7 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004689/0.2652, allocations: 253 kB / 442.9 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002348/0.2654, allocations: 137.6 kB / 443.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.552e-05/0.2654, allocations: 4 kB / 443.1 MB, free: 10.37 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.731e-05/0.2655, allocations: 42.5 kB / 443.1 MB, free: 10.32 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.954e-06/0.2655, allocations: 3.938 kB / 443.1 MB, free: 10.31 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.002026/0.2675, allocations: 0.8268 MB / 444 MB, free: 9.449 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.634e-05/0.2676, allocations: 81.11 kB / 444 MB, free: 9.352 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005291/0.2681, allocations: 397.5 kB / 444.4 MB, free: 8.957 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.291e-05/0.2682, allocations: 37.7 kB / 444.5 MB, free: 8.914 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/0.2684, allocations: 308 kB / 444.8 MB, free: 8.609 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001021/0.2685, allocations: 115 kB / 444.9 MB, free: 8.496 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001191/0.2686, allocations: 70.09 kB / 444.9 MB, free: 8.422 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001805/0.2688, allocations: 350.8 kB / 445.3 MB, free: 8.07 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002204/0.269, allocations: 104.8 kB / 445.4 MB, free: 7.965 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002791/0.2693, allocations: 194.6 kB / 445.6 MB, free: 7.742 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005084/0.2698, allocations: 303 kB / 445.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2698, allocations: 0 / 445.9 MB, free: 7.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008707/0.2707, allocations: 456.1 kB / 446.3 MB, free: 6.961 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/0.2707, allocations: 8 kB / 446.3 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.2707, allocations: 3.938 kB / 446.3 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003524/0.2711, allocations: 85.91 kB / 446.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003228/0.2714, allocations: 83.84 kB / 446.5 MB, free: 6.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002739/0.2741, allocations: 2.912 MB / 449.4 MB, free: 3.637 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000313/0.2745, allocations: 19.94 kB / 449.4 MB, free: 3.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.091e-05/0.2745, allocations: 16 kB / 449.4 MB, free: 3.602 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.000264/0.2747, allocations: 165.9 kB / 449.6 MB, free: 3.43 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.856e-05/0.2748, allocations: 51.69 kB / 449.7 MB, free: 3.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.775e-05/0.2749, allocations: 43.41 kB / 449.7 MB, free: 3.336 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.248e-06/0.2749, allocations: 4 kB / 449.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.2749, allocations: 0 / 449.7 MB, free: 3.332 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.498e-06/0.2749, allocations: 7.984 kB / 449.7 MB, free: 3.324 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001388/0.2763, allocations: 0.8762 MB / 450.6 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.2763, allocations: 4 kB / 450.6 MB, free: 2.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.2765, allocations: 47.91 kB / 450.6 MB, free: 2.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002662/0.2768, allocations: 73.64 kB / 450.7 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/0.2768, allocations: 12 kB / 450.7 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002497/0.2793, allocations: 2.916 MB / 453.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2793, allocations: 0 / 453.6 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000936/0.2802, allocations: 0.6097 MB / 454.2 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.386e-05/0.2803, allocations: 39.8 kB / 454.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.922e-05/0.2804, allocations: 8 kB / 454.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00033/0.2807, allocations: 28.05 kB / 454.3 MB, free: 14.4 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.147e-05/0.2808, allocations: 27.94 kB / 454.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.501e-05/0.2808, allocations: 12.19 kB / 454.4 MB, free: 14.36 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003051/0.2811, allocations: 275.2 kB / 454.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2811, allocations: 0 / 454.6 MB, free: 14.1 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005783/0.2817, allocations: 123.9 kB / 454.8 MB, free: 13.98 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.001226/0.2829, allocations: 1.171 MB / 455.9 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0008833/0.2838, allocations: 0.4937 MB / 456.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.2838, allocations: 0 / 456.4 MB, free: 12.25 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005764/0.2844, allocations: 369.2 kB / 456.8 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004927/0.2849, allocations: 65.56 kB / 456.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005692/0.2906, allocations: 4.228 MB / 461.1 MB, free: 7.41 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002513/0.2908, allocations: 250.2 kB / 461.3 MB, free: 7.137 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001623/0.291, allocations: 43.28 kB / 461.4 MB, free: 7.094 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002302/0.2912, allocations: 175.4 kB / 461.5 MB, free: 6.922 MB / 366.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2912, allocations: 0 / 461.5 MB, free: 6.922 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05478/0.346, allocations: 10.13 MB / 471.7 MB, free: 13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.04/11.39, allocations: 7.188 kB / 471.7 MB, free: 13 MB / 382.1 MB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CompareTransformers_fmu --startTime=0 --stopTime=50 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 52.5] 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 659] Reference file matches [Calling sys.exit(0), Time elapsed: 15.98385002699797]