Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.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.001391/0.001391, allocations: 115.6 kB / 18.45 MB, free: 4.566 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.001442/0.001442, allocations: 215.2 kB / 21.42 MB, free: 1.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.43/1.43, allocations: 207.6 MB / 231.8 MB, free: 4.035 MB / 174.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002908/0.002908, allocations: 51.92 kB / 342.3 MB, free: 9.984 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1194/0.1223, allocations: 49.13 MB / 391.4 MB, free: 8.688 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01857/0.1409, allocations: 14.67 MB / 406.1 MB, free: 9.957 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009202/0.1501, allocations: 3.964 MB / 410.1 MB, free: 5.977 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002536/0.1526, allocations: 103.5 kB / 410.2 MB, free: 5.875 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01338/0.166, allocations: 5.644 MB / 415.8 MB, free: 212 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006704/0.1727, allocations: 1.585 MB / 417.4 MB, free: 14.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004201/0.1769, allocations: 1.227 MB / 418.6 MB, free: 13.38 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01025/0.1871, allocations: 6.76 MB / 425.4 MB, free: 6.598 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01919/0.2063, allocations: 10.81 MB / 436.2 MB, free: 11.67 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006402/0.2127, allocations: 3.561 MB / 439.7 MB, free: 8.102 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008773/0.2215, allocations: 4.158 MB / 443.9 MB, free: 3.93 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004418/0.2259, allocations: 0.918 MB / 444.8 MB, free: 3.012 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005151/0.2311, allocations: 1.094 MB / 445.9 MB, free: 1.918 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003979/0.235, allocations: 1.936 MB / 447.8 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008713/0.2437, allocations: 3.793 MB / 451.6 MB, free: 12.17 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2174/0.4612, allocations: 12.41 MB / 464.1 MB, free: 28.48 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.4612, allocations: 1.953 kB / 464.1 MB, free: 28.48 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4612, allocations: 0 / 464.1 MB, free: 28.48 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003518/0.4616, allocations: 0 / 464.1 MB, free: 28.48 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.02928/0.4908, allocations: 8.442 MB / 472.5 MB, free: 26.15 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/0.4909, allocations: 9.031 kB / 472.5 MB, free: 26.15 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00487/0.4958, allocations: 1.135 MB / 473.6 MB, free: 26.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03281/0.5286, allocations: 5.106 MB / 478.7 MB, free: 25.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008058/0.5366, allocations: 3.563 MB / 482.3 MB, free: 25.04 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000504/0.5371, allocations: 0.5119 MB / 482.8 MB, free: 25.03 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002722/0.5399, allocations: 0.6721 MB / 483.5 MB, free: 25.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02897/0.5688, allocations: 10.49 MB / 494 MB, free: 20.3 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003284/0.5692, allocations: 11.84 kB / 494 MB, free: 20.3 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002073/0.5712, allocations: 288.6 kB / 494.3 MB, free: 20.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005133/0.5717, allocations: 379.3 kB / 494.7 MB, free: 20.02 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02861/0.6004, allocations: 9.651 MB / 0.4925 GB, free: 11.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07249/0.6729, allocations: 31.62 MB / 0.5234 GB, free: 11.25 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0234/0.6963, allocations: 22.62 MB / 0.5455 GB, free: 0.9961 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004043/0.7003, allocations: 1.74 MB / 0.5471 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01301/0.7133, allocations: 6.256 MB / 0.5533 GB, free: 8.777 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.206e-05/0.7134, allocations: 49.53 kB / 0.5533 GB, free: 8.723 MB / 446.1 MB Notification: Performance of pre-optimization done (n=150): time 4.068e-06/0.7134, allocations: 0 / 0.5533 GB, free: 8.723 MB / 446.1 MB Notification: Performance of matching and sorting (n=150): time 0.008001/0.7214, allocations: 3.172 MB / 0.5564 GB, free: 5.516 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.825e-05/0.7214, allocations: 90.55 kB / 0.5565 GB, free: 5.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005389/0.7268, allocations: 2.628 MB / 0.5591 GB, free: 2.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003564/0.7272, allocations: 53.36 kB / 0.5591 GB, free: 2.695 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003011/0.7302, allocations: 3.244 MB / 0.5623 GB, free: 15.45 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008853/0.7311, allocations: 0.5717 MB / 0.5628 GB, free: 14.88 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001791/0.7329, allocations: 0.8098 MB / 0.5636 GB, free: 14.07 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.733, allocations: 309.1 kB / 0.5639 GB, free: 13.76 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00291/0.7359, allocations: 1.468 MB / 0.5654 GB, free: 12.29 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005008/0.741, allocations: 3.258 MB / 0.5685 GB, free: 8.211 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007717/0.7487, allocations: 4.823 MB / 0.5732 GB, free: 2.789 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.128e-05/0.7487, allocations: 20 kB / 0.5733 GB, free: 2.77 MB / 462.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.01161/0.7603, allocations: 5.085 MB / 0.5782 GB, free: 14.05 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.904e-05/0.7604, allocations: 32 kB / 0.5783 GB, free: 14.02 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001282/0.7606, allocations: 60.91 kB / 0.5783 GB, free: 13.96 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001089/0.7616, allocations: 340.6 kB / 0.5786 GB, free: 13.62 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003775/0.7654, allocations: 0.881 MB / 0.5795 GB, free: 12.81 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006882/0.7723, allocations: 5.073 MB / 0.5845 GB, free: 7.512 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004277/0.7766, allocations: 0.5549 MB / 0.585 GB, free: 6.953 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008247/0.7774, allocations: 204 kB / 0.5852 GB, free: 6.754 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * 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 {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00484/0.7822, allocations: 2.332 MB / 0.5875 GB, free: 4.48 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007027/0.7829, allocations: 238.5 kB / 0.5877 GB, free: 4.246 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00465/0.7876, allocations: 2.309 MB / 0.59 GB, free: 1.926 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/0.7876, allocations: 16 kB / 0.59 GB, free: 1.91 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.739e-05/0.7876, allocations: 11.94 kB / 0.59 GB, free: 1.898 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.069e-05/0.7877, allocations: 7.969 kB / 0.59 GB, free: 1.891 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01054/0.7982, allocations: 5.341 MB / 0.5952 GB, free: 12.52 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-05/0.7982, allocations: 8.094 kB / 0.5952 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001341/0.7996, allocations: 252.4 kB / 0.5955 GB, free: 12.28 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007845/0.8003, allocations: 266.5 kB / 0.5957 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/0.8005, allocations: 28 kB / 0.5957 GB, free: 11.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006193/0.8067, allocations: 4.944 MB / 0.6006 GB, free: 6.789 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.8067, allocations: 0 / 0.6006 GB, free: 6.789 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005742/0.8124, allocations: 3.306 MB / 0.6038 GB, free: 3.469 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/0.8138, allocations: 483.2 kB / 0.6042 GB, free: 2.977 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004428/0.8142, allocations: 33.59 kB / 0.6043 GB, free: 2.945 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/0.8156, allocations: 92.09 kB / 0.6044 GB, free: 2.855 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002989/0.8159, allocations: 109.2 kB / 0.6045 GB, free: 2.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001092/0.816, allocations: 48 kB / 0.6045 GB, free: 2.703 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003565/0.8196, allocations: 1.722 MB / 0.6062 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8196, allocations: 0 / 0.6062 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006796/0.8264, allocations: 1.545 MB / 0.6077 GB, free: 15.41 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.plug_p.reference.gamma) * 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 (134): * Single equations (assignments): 132 * 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%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.007189/0.8336, allocations: 3.928 MB / 0.6115 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.007073/0.8406, allocations: 3.346 MB / 0.6148 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.286e-05/0.8406, allocations: 384 / 0.6148 GB, free: 8.285 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002599/0.8432, allocations: 1.18 MB / 0.616 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003457/0.8467, allocations: 498.7 kB / 0.6164 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06282/0.9095, allocations: 31.05 MB / 0.6468 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007326/0.9168, allocations: 4.183 MB / 0.6508 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.2094/1.126, allocations: 1.283 MB / 0.6521 GB, free: 205.8 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003434/1.13, allocations: 2.123 MB / 0.6542 GB, free: 205.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.222e-06/1.13, allocations: 0 / 0.6542 GB, free: 205.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1161/1.246, allocations: 69.16 MB / 0.7217 GB, free: 156.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.27/15.52, allocations: 11.8 kB / 0.7217 GB, free: 156.3 MB / 0.5294 GB " [Timeout remaining time 644] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable resistor1_3.pin_p.reference.gamma in file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.csv. Warning: Get data of variable resistor1_3.pin_p.reference.gamma from file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.csv failed! Error: Could not read variable resistor2_3.pin_p.reference.gamma in file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.csv. Warning: Get data of variable resistor2_3.pin_p.reference.gamma from file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 17.98175992599863]