Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001293/0.001293, allocations: 107.5 kB / 20.43 MB, free: 1.066 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001392/0.001392, allocations: 187.5 kB / 23.7 MB, free: 4.188 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 225.7 MB / 252.5 MB, free: 12.86 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 51.92 kB / 370.4 MB, free: 9.703 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2234, allocations: 52.19 MB / 422.6 MB, free: 14.41 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.005083/0.2285, allocations: 3.446 MB / 426 MB, free: 10.95 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00181/0.2303, allocations: 0.923 MB / 426.9 MB, free: 10.02 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002369/0.2306, allocations: 27.81 kB / 427 MB, free: 9.996 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003306/0.2309, allocations: 154.8 kB / 427.1 MB, free: 9.844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007902/0.2317, allocations: 294.4 kB / 427.4 MB, free: 9.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.2319, allocations: 131.8 kB / 427.5 MB, free: 9.426 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001407/0.2334, allocations: 1.389 MB / 428.9 MB, free: 8.031 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000818/0.2342, allocations: 0.6174 MB / 429.5 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007133/0.2349, allocations: 0.6426 MB / 430.2 MB, free: 6.734 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00104/0.2359, allocations: 0.7862 MB / 431 MB, free: 5.945 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002136/0.2361, allocations: 156 kB / 431.1 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002695/0.2364, allocations: 156 kB / 431.3 MB, free: 5.641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004195/0.2368, allocations: 462.7 kB / 431.7 MB, free: 5.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006122/0.2374, allocations: 0.5991 MB / 432.3 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001918/0.2394, allocations: 2.051 MB / 434.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2394, allocations: 0 / 434.4 MB, free: 2.527 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.2394, allocations: 7.875 kB / 434.4 MB, free: 2.52 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.021e-05/0.2394, allocations: 0 / 434.4 MB, free: 2.52 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.002921/0.2423, allocations: 1.629 MB / 436 MB, free: 0.8555 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.2423, allocations: 8.031 kB / 436 MB, free: 0.8477 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002262/0.2426, allocations: 181.2 kB / 436.2 MB, free: 0.6602 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002179/0.2428, allocations: 144 kB / 436.3 MB, free: 0.5195 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001613/0.2444, allocations: 0.8164 MB / 437.2 MB, free: 15.67 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.466e-05/0.2445, allocations: 90.09 kB / 437.2 MB, free: 15.58 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001833/0.2447, allocations: 112 kB / 437.3 MB, free: 15.47 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00254/0.2472, allocations: 1.695 MB / 439 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.2472, allocations: 4 kB / 439 MB, free: 13.69 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001044/0.2473, allocations: 47.94 kB / 439.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.2473, allocations: 28 kB / 439.1 MB, free: 13.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002233/0.2496, allocations: 1.312 MB / 440.4 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006609/0.2562, allocations: 3.797 MB / 444.2 MB, free: 8.363 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009689/0.2572, allocations: 0.6052 MB / 444.8 MB, free: 7.75 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007116/0.2579, allocations: 430.5 kB / 445.3 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.595e-05/0.2579, allocations: 4.438 kB / 445.3 MB, free: 7.32 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.403e-05/0.2579, allocations: 42.94 kB / 445.3 MB, free: 7.27 MB / 350.1 MB Notification: Performance of pre-optimization done (n=49): time 4.258e-06/0.2579, allocations: 3.984 kB / 445.3 MB, free: 7.266 MB / 350.1 MB Notification: Performance of matching and sorting (n=51): time 0.003291/0.2612, allocations: 1.885 MB / 447.2 MB, free: 5.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.611e-05/0.2613, allocations: 55.84 kB / 447.2 MB, free: 5.273 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001093/0.2624, allocations: 0.8203 MB / 448.1 MB, free: 4.441 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.325e-05/0.2624, allocations: 37.7 kB / 448.1 MB, free: 4.398 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004427/0.2629, allocations: 0.5545 MB / 448.7 MB, free: 3.836 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001575/0.263, allocations: 186.4 kB / 448.8 MB, free: 3.652 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001703/0.2632, allocations: 106.3 kB / 448.9 MB, free: 3.543 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.2634, allocations: 386.8 kB / 449.3 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004958/0.2639, allocations: 305.1 kB / 449.6 MB, free: 2.859 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005762/0.2645, allocations: 404.2 kB / 450 MB, free: 2.434 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.2655, allocations: 0.698 MB / 450.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2655, allocations: 0 / 450.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001499/0.267, allocations: 0.9152 MB / 451.6 MB, free: 0.7773 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.947e-05/0.267, allocations: 11.83 kB / 451.6 MB, free: 0.7695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.267, allocations: 4 kB / 451.6 MB, free: 0.7656 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002886/0.2673, allocations: 109.1 kB / 451.7 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005129/0.2678, allocations: 131.8 kB / 451.9 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002424/0.2703, allocations: 2.234 MB / 454.1 MB, free: 14.18 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003912/0.2707, allocations: 28 kB / 454.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.713e-05/0.2707, allocations: 28.06 kB / 454.2 MB, free: 14.13 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006358/0.2713, allocations: 459.4 kB / 454.6 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001204/0.2715, allocations: 75.53 kB / 454.7 MB, free: 13.6 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001604/0.2716, allocations: 87.08 kB / 454.8 MB, free: 13.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.2716, allocations: 11.94 kB / 454.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.627e-06/0.2716, allocations: 3.938 kB / 454.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.2716, allocations: 3.984 kB / 454.8 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00326/0.2749, allocations: 1.883 MB / 456.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.2749, allocations: 0 / 456.7 MB, free: 11.54 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003557/0.2753, allocations: 95.81 kB / 456.8 MB, free: 11.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002422/0.2755, allocations: 100.8 kB / 456.9 MB, free: 11.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.2755, allocations: 15.98 kB / 456.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002395/0.2779, allocations: 2.211 MB / 459.1 MB, free: 9 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.2779, allocations: 4.031 kB / 459.1 MB, free: 8.996 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.2798, allocations: 1.201 MB / 460.3 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002508/0.2801, allocations: 95.53 kB / 460.4 MB, free: 7.668 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.49e-05/0.2802, allocations: 12 kB / 460.4 MB, free: 7.656 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.2806, allocations: 44.23 kB / 460.4 MB, free: 7.613 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.2807, allocations: 48.3 kB / 460.5 MB, free: 7.562 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.286e-05/0.2807, allocations: 16 kB / 460.5 MB, free: 7.547 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007883/0.2815, allocations: 0.5927 MB / 461.1 MB, free: 6.957 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2815, allocations: 0 / 461.1 MB, free: 6.957 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007549/0.2822, allocations: 208 kB / 461.3 MB, free: 6.754 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (transformerL.inductor[2].i,transformerL.inductor[3].i) * 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 (43): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002167/0.2844, allocations: 1.761 MB / 463.1 MB, free: 4.949 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001426/0.2858, allocations: 0.804 MB / 463.9 MB, free: 4.129 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/0.2858, allocations: 0 / 463.9 MB, free: 4.129 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007536/0.2866, allocations: 481.8 kB / 464.3 MB, free: 3.645 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008826/0.2875, allocations: 178.8 kB / 464.5 MB, free: 3.473 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/0.2998, allocations: 8.613 MB / 473.1 MB, free: 10.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008455/0.3006, allocations: 0.733 MB / 473.9 MB, free: 9.895 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004571/0.3011, allocations: 189.8 kB / 474 MB, free: 9.707 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005086/0.3016, allocations: 379.3 kB / 474.4 MB, free: 9.336 MB / 382.1 MB Notification: Performance of SimCode: time 6.61e-07/0.3016, allocations: 4 kB / 474.4 MB, free: 9.332 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05846/0.3601, allocations: 20.99 MB / 495.4 MB, free: 4.652 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.87/12.23, allocations: 7.984 kB / 495.4 MB, free: 4.645 MB / 398.1 MB " [Timeout remaining time 648] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TransformerYY.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: 14.524906374048442]