Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001814/0.001814, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002425/0.002425, allocations: 206.4 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.392/1.392, allocations: 230.5 MB / 257.4 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CompareTransformers,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 63.91 kB / 377.8 MB, free: 2.766 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2412/0.2431, allocations: 53.42 MB / 431.2 MB, free: 6.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CompareTransformers): time 0.005185/0.2483, allocations: 3.707 MB / 434.9 MB, free: 2.691 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001835/0.2501, allocations: 0.923 MB / 435.8 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002371/0.2503, allocations: 11.94 kB / 435.8 MB, free: 1.75 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002338/0.2506, allocations: 95.06 kB / 435.9 MB, free: 1.656 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003572/0.2509, allocations: 190.4 kB / 436.1 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004125/0.2513, allocations: 163.7 kB / 436.3 MB, free: 1.309 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006678/0.252, allocations: 0.6655 MB / 436.9 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002777/0.2523, allocations: 141.4 kB / 437.1 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003482/0.2526, allocations: 271 kB / 437.3 MB, free: 236 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003453/0.253, allocations: 258.7 kB / 437.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.266e-05/0.2531, allocations: 60 kB / 437.6 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.2532, allocations: 56 kB / 437.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000115/0.2533, allocations: 135.4 kB / 437.8 MB, free: 15.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002352/0.2535, allocations: 250.8 kB / 438.1 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006797/0.2542, allocations: 0.6534 MB / 438.7 MB, free: 14.83 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2542, allocations: 3.938 kB / 438.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2542, allocations: 0 / 438.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.107e-05/0.2542, allocations: 4 kB / 438.7 MB, free: 14.82 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.001431/0.2557, allocations: 0.8086 MB / 439.5 MB, free: 13.98 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.2557, allocations: 11.98 kB / 439.6 MB, free: 13.97 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001438/0.2559, allocations: 104 kB / 439.7 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003048/0.2562, allocations: 88.5 kB / 439.7 MB, free: 13.77 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005789/0.2567, allocations: 326 kB / 440.1 MB, free: 13.43 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.096e-05/0.2568, allocations: 41.69 kB / 440.1 MB, free: 13.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.228e-05/0.2569, allocations: 56.31 kB / 440.2 MB, free: 13.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009112/0.2578, allocations: 0.6423 MB / 440.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.2578, allocations: 0 / 440.8 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.713e-05/0.2578, allocations: 28 kB / 440.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.747e-05/0.2579, allocations: 16 kB / 440.8 MB, free: 12.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006494/0.2585, allocations: 344.4 kB / 441.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002646/0.2612, allocations: 1.553 MB / 442.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004857/0.2616, allocations: 249 kB / 443 MB, free: 10.36 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002416/0.2619, allocations: 129.7 kB / 443.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.533e-05/0.2619, allocations: 4 kB / 443.1 MB, free: 10.22 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.069e-05/0.2619, allocations: 42.5 kB / 443.1 MB, free: 10.17 MB / 350.1 MB Notification: Performance of pre-optimization done (n=31): time 1.654e-06/0.2619, allocations: 4 kB / 443.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of matching and sorting (n=32): time 0.001886/0.2638, allocations: 0.8195 MB / 444 MB, free: 9.305 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/0.2639, allocations: 89.05 kB / 444.1 MB, free: 9.199 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004385/0.2643, allocations: 397.5 kB / 444.4 MB, free: 8.805 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.1e-05/0.2644, allocations: 29.7 kB / 444.5 MB, free: 8.77 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000208/0.2646, allocations: 300.1 kB / 444.8 MB, free: 8.473 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.846e-05/0.2647, allocations: 119 kB / 444.9 MB, free: 8.355 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000113/0.2648, allocations: 78.08 kB / 445 MB, free: 8.273 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.265, allocations: 350.8 kB / 445.3 MB, free: 7.922 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002045/0.2652, allocations: 96.83 kB / 445.4 MB, free: 7.824 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.2654, allocations: 194.6 kB / 445.6 MB, free: 7.602 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004863/0.2659, allocations: 312.2 kB / 445.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.2659, allocations: 0 / 445.9 MB, free: 7.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008034/0.2667, allocations: 450.5 kB / 446.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.2667, allocations: 4 kB / 446.3 MB, free: 6.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.2668, allocations: 4.312 kB / 446.3 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003249/0.2671, allocations: 85.59 kB / 446.4 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.2674, allocations: 75.89 kB / 446.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002638/0.27, allocations: 2.912 MB / 449.4 MB, free: 3.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002693/0.2703, allocations: 23.92 kB / 449.4 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.2703, allocations: 19.94 kB / 449.5 MB, free: 3.457 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.0002048/0.2705, allocations: 174.8 kB / 449.6 MB, free: 3.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.724e-05/0.2706, allocations: 43.7 kB / 449.7 MB, free: 3.234 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.469e-05/0.2707, allocations: 47.39 kB / 449.7 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.2707, allocations: 4 kB / 449.7 MB, free: 3.184 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.2707, allocations: 4 kB / 449.7 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.2707, allocations: 0 / 449.7 MB, free: 3.18 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001391/0.2721, allocations: 0.8841 MB / 450.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.2721, allocations: 0 / 450.6 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001886/0.2723, allocations: 47.91 kB / 450.6 MB, free: 2.195 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002568/0.2725, allocations: 81.64 kB / 450.7 MB, free: 2.109 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.864e-05/0.2726, allocations: 4 kB / 450.7 MB, free: 2.105 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002453/0.275, allocations: 2.916 MB / 453.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.275, allocations: 0 / 453.6 MB, free: 14.96 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009268/0.2759, allocations: 0.609 MB / 454.3 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.689e-05/0.276, allocations: 35.8 kB / 454.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.86e-05/0.2761, allocations: 8 kB / 454.3 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/0.2764, allocations: 36.03 kB / 454.3 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/0.2765, allocations: 28.08 kB / 454.4 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.295e-05/0.2765, allocations: 12 kB / 454.4 MB, free: 14.21 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002877/0.2768, allocations: 275.2 kB / 454.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2768, allocations: 0 / 454.6 MB, free: 13.95 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0005616/0.2773, allocations: 120 kB / 454.8 MB, free: 13.83 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.001248/0.2786, allocations: 1.178 MB / 455.9 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0009055/0.2795, allocations: 0.4956 MB / 456.4 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.2795, allocations: 7.938 kB / 456.4 MB, free: 12.1 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005902/0.2801, allocations: 365.2 kB / 456.8 MB, free: 11.71 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.2806, allocations: 57.73 kB / 456.9 MB, free: 11.66 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00554/0.2861, allocations: 4.218 MB / 461.1 MB, free: 7.273 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002489/0.2864, allocations: 254.2 kB / 461.3 MB, free: 6.996 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001639/0.2865, allocations: 43.3 kB / 461.4 MB, free: 6.953 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002154/0.2867, allocations: 171.5 kB / 461.5 MB, free: 6.785 MB / 366.1 MB Notification: Performance of SimCode: time 5.61e-07/0.2868, allocations: 3.938 kB / 461.5 MB, free: 6.781 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0432/0.33, allocations: 9.982 MB / 471.5 MB, free: 12.98 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/12.09, allocations: 25.89 kB / 471.5 MB, free: 12.96 MB / 382.1 MB " [Timeout remaining time 648] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv --start-time 0 --stop-time 50 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_Analog_Examples_CompareTransformers.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv","/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_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable basicTransformer.i1 in file Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv. Warning: Get data of variable basicTransformer.i1 from file Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv failed! Error: Could not read variable basicTransformer.i2 in file Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv. Warning: Get data of variable basicTransformer.i2 from file Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv failed! Error: Could not read variable inductor22.i in file Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv. Warning: Get data of variable inductor22.i from file Modelica_trunk_Modelica.Electrical.Analog.Examples.CompareTransformers_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.17019599908963]