Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.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.001772/0.001772, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002186/0.002186, allocations: 213.7 kB / 23.73 MB, free: 4.406 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.445/1.445, allocations: 230.5 MB / 257.4 MB, free: 7.781 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.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 63.89 kB / 377.7 MB, free: 2.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2683/0.2703, allocations: 53.42 MB / 431.1 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TransformerYY): time 0.007989/0.2782, allocations: 3.475 MB / 434.6 MB, free: 2.977 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002942/0.2812, allocations: 0.997 MB / 435.6 MB, free: 1.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004311/0.2816, allocations: 27.81 kB / 435.6 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004878/0.2821, allocations: 154.8 kB / 435.8 MB, free: 1.797 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001301/0.2834, allocations: 306.4 kB / 436.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004132/0.2838, allocations: 131.8 kB / 436.2 MB, free: 1.367 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002205/0.286, allocations: 1.405 MB / 437.6 MB, free: 15.95 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.2871, allocations: 0.6252 MB / 438.3 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001188/0.2883, allocations: 0.6502 MB / 438.9 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00159/0.2899, allocations: 0.7901 MB / 439.7 MB, free: 13.85 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003346/0.2902, allocations: 156 kB / 439.8 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004567/0.2907, allocations: 164 kB / 440 MB, free: 13.54 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006294/0.2913, allocations: 478.6 kB / 440.5 MB, free: 13.07 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000921/0.2922, allocations: 0.5952 MB / 441.1 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002826/0.2951, allocations: 2.071 MB / 443.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.2951, allocations: 0 / 443.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2951, allocations: 0 / 443.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.784e-05/0.2951, allocations: 0 / 443.1 MB, free: 10.39 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: 284 * Number of variables: 284 Notification: Performance of Generate backend data structure: time 0.004456/0.2995, allocations: 1.642 MB / 444.8 MB, free: 8.711 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.044e-05/0.2996, allocations: 11.98 kB / 444.8 MB, free: 8.699 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003486/0.2999, allocations: 177.3 kB / 445 MB, free: 8.516 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007587/0.3007, allocations: 176 kB / 445.1 MB, free: 8.344 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002499/0.3032, allocations: 0.8474 MB / 446 MB, free: 7.465 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.3033, allocations: 86.14 kB / 446.1 MB, free: 7.379 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000275/0.3036, allocations: 112 kB / 446.2 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004195/0.3078, allocations: 1.707 MB / 447.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.54e-05/0.3078, allocations: 0 / 447.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001736/0.308, allocations: 44 kB / 447.9 MB, free: 5.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.59e-05/0.3081, allocations: 46.2 kB / 448 MB, free: 5.391 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003431/0.3115, allocations: 1.324 MB / 449.3 MB, free: 4.059 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009634/0.3212, allocations: 3.711 MB / 453 MB, free: 220 kB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.3226, allocations: 0.5823 MB / 453.6 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001055/0.3237, allocations: 413.4 kB / 454 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.741e-05/0.3237, allocations: 4.375 kB / 454 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.433e-05/0.3238, allocations: 42.88 kB / 454 MB, free: 15.17 MB / 366.1 MB Notification: Performance of pre-optimization done (n=46): time 3.456e-06/0.3238, allocations: 4 kB / 454 MB, free: 15.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=47): time 0.005013/0.3288, allocations: 1.825 MB / 455.9 MB, free: 13.31 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.488e-05/0.3288, allocations: 55.84 kB / 455.9 MB, free: 13.24 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001728/0.3306, allocations: 0.8282 MB / 456.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.871e-05/0.3306, allocations: 41.64 kB / 456.8 MB, free: 12.36 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006785/0.3313, allocations: 0.5622 MB / 457.4 MB, free: 11.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000214/0.3315, allocations: 166.5 kB / 457.5 MB, free: 11.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000277/0.3318, allocations: 98.34 kB / 457.6 MB, free: 11.52 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002814/0.3321, allocations: 382.8 kB / 458 MB, free: 11.14 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007446/0.3328, allocations: 301.1 kB / 458.3 MB, free: 10.85 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009066/0.3337, allocations: 401.1 kB / 458.7 MB, free: 10.42 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001633/0.3354, allocations: 0.688 MB / 459.4 MB, free: 9.695 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.307e-06/0.3354, allocations: 8 kB / 459.4 MB, free: 9.688 MB / 366.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002346/0.3377, allocations: 0.9022 MB / 460.3 MB, free: 8.773 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.402e-05/0.3377, allocations: 4 kB / 460.3 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.3378, allocations: 4 kB / 460.3 MB, free: 8.766 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004261/0.3382, allocations: 116.7 kB / 460.4 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007381/0.3389, allocations: 116 kB / 460.5 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003651/0.3426, allocations: 2.23 MB / 462.7 MB, free: 6.195 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005946/0.3432, allocations: 32 kB / 462.8 MB, free: 6.164 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.15e-05/0.3432, allocations: 23.98 kB / 462.8 MB, free: 6.141 MB / 366.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 (56): * Single equations (assignments): 55 * 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.0009833/0.3442, allocations: 461.7 kB / 463.2 MB, free: 5.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001994/0.3444, allocations: 79.47 kB / 463.3 MB, free: 5.602 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002293/0.3446, allocations: 91.08 kB / 463.4 MB, free: 5.508 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.3446, allocations: 4 kB / 463.4 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.3447, allocations: 0 / 463.4 MB, free: 5.504 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/0.3447, allocations: 3.984 kB / 463.4 MB, free: 5.5 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004453/0.3491, allocations: 1.796 MB / 465.2 MB, free: 3.645 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/0.3491, allocations: 4 kB / 465.2 MB, free: 3.641 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004956/0.3496, allocations: 79.95 kB / 465.3 MB, free: 3.562 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003503/0.35, allocations: 104.7 kB / 465.4 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.046e-05/0.35, allocations: 19.92 kB / 465.4 MB, free: 3.438 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00335/0.3534, allocations: 2.207 MB / 467.6 MB, free: 1.113 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.573e-06/0.3534, allocations: 7.969 kB / 467.6 MB, free: 1.105 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00271/0.3561, allocations: 1.141 MB / 468.8 MB, free: 15.94 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003203/0.3564, allocations: 95.59 kB / 468.9 MB, free: 15.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001393/0.3565, allocations: 19.94 kB / 468.9 MB, free: 15.82 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006265/0.3572, allocations: 39.95 kB / 468.9 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000132/0.3573, allocations: 35.92 kB / 469 MB, free: 15.75 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.036e-05/0.3574, allocations: 16 kB / 469 MB, free: 15.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001241/0.3586, allocations: 0.5926 MB / 469.6 MB, free: 15.14 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3586, allocations: 4 kB / 469.6 MB, free: 15.14 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001215/0.3598, allocations: 208 kB / 469.8 MB, free: 14.94 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (transformerL.inductor[1].i,transformerL.inductor[2].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 (39): * Single equations (assignments): 38 * 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.003082/0.3629, allocations: 1.7 MB / 471.5 MB, free: 13.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001992/0.3649, allocations: 0.7729 MB / 472.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.3649, allocations: 0 / 472.2 MB, free: 12.41 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001122/0.366, allocations: 467 kB / 472.7 MB, free: 11.95 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001319/0.3673, allocations: 163.1 kB / 472.9 MB, free: 11.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01783/0.3852, allocations: 8.52 MB / 481.4 MB, free: 3.082 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001292/0.3864, allocations: 0.745 MB / 482.1 MB, free: 2.301 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006863/0.3871, allocations: 177.7 kB / 482.3 MB, free: 2.125 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000752/0.3879, allocations: 383.3 kB / 482.7 MB, free: 1.75 MB / 382.1 MB Notification: Performance of SimCode: time 9.01e-07/0.3879, allocations: 0 / 482.7 MB, free: 1.75 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05766/0.4455, allocations: 20.91 MB / 0.4918 GB, free: 13.09 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12/12.45, allocations: 8.047 kB / 0.4918 GB, free: 13.08 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_Polyphase_Examples_TransformerYY.fmu > Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Polyphase/Examples/TransformerYY/TransformerYY.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable transformerL.inductor[3].i in file Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.csv. Warning: Get data of variable transformerL.inductor[3].i from file Modelica_trunk_Modelica.Electrical.Polyphase.Examples.TransformerYY_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.935585892293602]