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.002037/0.002037, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002576/0.002576, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.497/1.497, allocations: 207.6 MB / 235.3 MB, free: 9.996 MB / 190.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.001734/0.001734, allocations: 49.66 kB / 347.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2837/0.2855, allocations: 49.16 MB / 396.4 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01547/0.3009, allocations: 14.69 MB / 411.1 MB, free: 14.32 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01152/0.3125, allocations: 3.979 MB / 415 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00351/0.316, allocations: 99 kB / 415.1 MB, free: 11.48 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01366/0.3296, allocations: 5.654 MB / 420.8 MB, free: 7.445 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007499/0.3371, allocations: 1.637 MB / 422.4 MB, free: 6.152 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004463/0.3416, allocations: 1.257 MB / 423.7 MB, free: 5.18 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01091/0.3525, allocations: 6.867 MB / 430.5 MB, free: 1.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01524/0.3677, allocations: 9.268 MB / 439.8 MB, free: 7.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005696/0.3734, allocations: 3.569 MB / 443.4 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008417/0.3818, allocations: 4.17 MB / 447.6 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003167/0.385, allocations: 0.918 MB / 448.5 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005186/0.3902, allocations: 1.098 MB / 449.6 MB, free: 13.88 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003517/0.3937, allocations: 1.936 MB / 451.5 MB, free: 11.94 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006757/0.4005, allocations: 3.797 MB / 455.3 MB, free: 8.125 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01646/0.4169, allocations: 12.42 MB / 467.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.177e-06/0.4169, allocations: 4 kB / 467.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.4169, allocations: 0 / 467.7 MB, free: 11.67 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003821/0.4173, allocations: 0 / 467.7 MB, free: 11.67 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.0244/0.4417, allocations: 8.366 MB / 476.1 MB, free: 3.234 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.643e-05/0.4418, allocations: 11.98 kB / 476.1 MB, free: 3.223 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003911/0.4457, allocations: 1.129 MB / 477.2 MB, free: 2.078 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03118/0.4769, allocations: 5.111 MB / 482.3 MB, free: 12.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009644/0.4865, allocations: 3.573 MB / 485.9 MB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005129/0.4871, allocations: 0.5059 MB / 486.4 MB, free: 8.828 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002347/0.4894, allocations: 0.664 MB / 487.1 MB, free: 8.164 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02382/0.5132, allocations: 10.51 MB / 497.6 MB, free: 13.62 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002027/0.5134, allocations: 15.88 kB / 497.6 MB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001154/0.5146, allocations: 280 kB / 497.9 MB, free: 13.33 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004187/0.515, allocations: 386.7 kB / 498.3 MB, free: 12.95 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01887/0.5339, allocations: 9.645 MB / 0.496 GB, free: 3.293 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05546/0.5893, allocations: 30.1 MB / 0.5254 GB, free: 4.438 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01221/0.6015, allocations: 5.793 MB / 0.531 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003053/0.6046, allocations: 1.749 MB / 0.5328 GB, free: 13.38 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01047/0.6151, allocations: 5.045 MB / 0.5377 GB, free: 8.297 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.554e-05/0.6151, allocations: 52 kB / 0.5377 GB, free: 8.238 MB / 462.1 MB Notification: Performance of pre-optimization done (n=150): time 3.417e-06/0.6151, allocations: 0 / 0.5377 GB, free: 8.238 MB / 462.1 MB Notification: Performance of matching and sorting (n=150): time 0.007038/0.6221, allocations: 3.027 MB / 0.5407 GB, free: 5.199 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.025e-05/0.6222, allocations: 90.55 kB / 0.5408 GB, free: 5.094 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004192/0.6264, allocations: 2.628 MB / 0.5433 GB, free: 2.434 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001859/0.6266, allocations: 49.7 kB / 0.5434 GB, free: 2.379 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002386/0.629, allocations: 3.252 MB / 0.5466 GB, free: 15.1 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006128/0.6296, allocations: 0.5735 MB / 0.5471 GB, free: 14.52 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001189/0.6308, allocations: 0.8059 MB / 0.5479 GB, free: 13.71 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001343/0.6309, allocations: 301.1 kB / 0.5482 GB, free: 13.41 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002279/0.6332, allocations: 1.468 MB / 0.5496 GB, free: 11.94 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003772/0.637, allocations: 3.261 MB / 0.5528 GB, free: 7.824 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00619/0.6432, allocations: 4.824 MB / 0.5575 GB, free: 2.145 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.166e-05/0.6432, allocations: 16 kB / 0.5575 GB, free: 2.129 MB / 478.1 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.199/0.8422, allocations: 5.09 MB / 0.5625 GB, free: 136.8 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.591e-05/0.8423, allocations: 32.16 kB / 0.5625 GB, free: 136.8 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001227/0.8424, allocations: 59.78 kB / 0.5626 GB, free: 136.8 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009209/0.8433, allocations: 336.9 kB / 0.5629 GB, free: 136.8 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003122/0.8464, allocations: 0.8842 MB / 0.5638 GB, free: 136.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004489/0.8509, allocations: 4.84 MB / 0.5685 GB, free: 133.6 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002961/0.8539, allocations: 0.5565 MB / 0.5691 GB, free: 133.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003394/0.8542, allocations: 212.2 kB / 0.5693 GB, free: 133.5 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.003431/0.8577, allocations: 2.328 MB / 0.5715 GB, free: 132.5 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004033/0.8581, allocations: 236.5 kB / 0.5718 GB, free: 132.4 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003663/0.8617, allocations: 2.309 MB / 0.574 GB, free: 131.5 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.8617, allocations: 15.69 kB / 0.574 GB, free: 131.5 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.8617, allocations: 9.938 kB / 0.574 GB, free: 131.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.95e-05/0.8618, allocations: 7.781 kB / 0.574 GB, free: 131.5 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007516/0.8693, allocations: 5.354 MB / 0.5793 GB, free: 129.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.05e-05/0.8693, allocations: 1.25 kB / 0.5793 GB, free: 129.5 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00112/0.8704, allocations: 254.6 kB / 0.5795 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005987/0.871, allocations: 260.8 kB / 0.5798 GB, free: 129.4 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.481e-05/0.8711, allocations: 42.56 kB / 0.5798 GB, free: 129.3 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00392/0.875, allocations: 4.735 MB / 0.5844 GB, free: 125.6 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.795e-06/0.875, allocations: 1.5 kB / 0.5844 GB, free: 125.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003893/0.8789, allocations: 3.305 MB / 0.5877 GB, free: 124.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000767/0.8797, allocations: 406.6 kB / 0.588 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002576/0.8799, allocations: 35.09 kB / 0.5881 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/0.881, allocations: 97.58 kB / 0.5882 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/0.8812, allocations: 108.2 kB / 0.5883 GB, free: 123.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.701e-05/0.8813, allocations: 52.95 kB / 0.5883 GB, free: 123.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002024/0.8833, allocations: 1.716 MB / 0.59 GB, free: 123.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8833, allocations: 0 / 0.59 GB, free: 123.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003876/0.8872, allocations: 1.549 MB / 0.5915 GB, free: 122.9 MB / 478.1 MB 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.004137/0.8913, allocations: 3.925 MB / 0.5953 GB, free: 120.8 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.004772/0.8961, allocations: 3.345 MB / 0.5986 GB, free: 119.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/0.8961, allocations: 5.469 kB / 0.5986 GB, free: 119.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001411/0.8975, allocations: 1.179 MB / 0.5998 GB, free: 118.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/0.8998, allocations: 0.4892 MB / 0.6002 GB, free: 118.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03774/0.9375, allocations: 31.14 MB / 0.6307 GB, free: 85.93 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003022/0.9405, allocations: 4.183 MB / 0.6347 GB, free: 81.72 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002744/0.9433, allocations: 1.287 MB / 0.636 GB, free: 80.43 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00188/0.9451, allocations: 2.12 MB / 0.6381 GB, free: 78.3 MB / 478.1 MB Notification: Performance of SimCode: time 1.122e-06/0.9451, allocations: 4 kB / 0.6381 GB, free: 78.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.158/1.103, allocations: 72.37 MB / 0.7088 GB, free: 5.773 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.01/17.11, allocations: 7.891 kB / 0.7088 GB, free: 5.766 MB / 478.1 MB " [Timeout remaining time 643] (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: 19.745967212002142]