Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.001887/0.001887, allocations: 114 kB / 20.43 MB, free: 1.457 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.002021/0.002021, allocations: 214.2 kB / 23.74 MB, free: 4.672 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.509/1.509, allocations: 230.5 MB / 257.4 MB, free: 7.992 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.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 63.91 kB / 377.8 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2891/0.2911, allocations: 53.4 MB / 431.2 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01717/0.3082, allocations: 14.02 MB / 445.2 MB, free: 8.609 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009001/0.3173, allocations: 3.87 MB / 449.1 MB, free: 4.727 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002193/0.3194, allocations: 119.4 kB / 449.2 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01282/0.3323, allocations: 5.611 MB / 454.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00572/0.338, allocations: 1.41 MB / 456.2 MB, free: 13.57 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003575/0.3416, allocations: 1.242 MB / 457.5 MB, free: 12.34 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00951/0.3511, allocations: 6.49 MB / 464 MB, free: 5.836 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01786/0.3689, allocations: 9.158 MB / 473.1 MB, free: 12.55 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005649/0.3746, allocations: 3.355 MB / 476.5 MB, free: 9.191 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007182/0.3818, allocations: 3.89 MB / 480.4 MB, free: 5.289 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002683/0.3844, allocations: 0.8828 MB / 481.2 MB, free: 4.406 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004624/0.3891, allocations: 1.09 MB / 482.3 MB, free: 3.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004715/0.3938, allocations: 1.769 MB / 484.1 MB, free: 1.543 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007153/0.4009, allocations: 3.572 MB / 487.7 MB, free: 13.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01613/0.4171, allocations: 11.99 MB / 499.7 MB, free: 1.93 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.4171, allocations: 0 / 499.7 MB, free: 1.93 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.4171, allocations: 0 / 499.7 MB, free: 1.93 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003336/0.4174, allocations: 0 / 499.7 MB, free: 1.93 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.0229/0.4403, allocations: 7.841 MB / 0.4956 GB, free: 10.02 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.198e-05/0.4404, allocations: 8.031 kB / 0.4956 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003537/0.4439, allocations: 1.05 MB / 0.4966 GB, free: 8.949 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0195/0.4634, allocations: 2.884 MB / 0.4995 GB, free: 6.059 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009148/0.4725, allocations: 3.744 MB / 0.5031 GB, free: 2.266 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004799/0.473, allocations: 489.1 kB / 0.5036 GB, free: 1.785 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002206/0.4752, allocations: 0.6249 MB / 0.5042 GB, free: 1.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02288/0.4981, allocations: 9.354 MB / 0.5133 GB, free: 7.746 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002223/0.4983, allocations: 11.95 kB / 0.5133 GB, free: 7.734 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001103/0.4994, allocations: 264 kB / 0.5136 GB, free: 7.477 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003607/0.4998, allocations: 317.5 kB / 0.5139 GB, free: 7.164 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01645/0.5162, allocations: 7.989 MB / 0.5217 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2827/0.7989, allocations: 27.42 MB / 0.5485 GB, free: 83.65 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007401/0.8063, allocations: 3.966 MB / 0.5523 GB, free: 82.52 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002008/0.8083, allocations: 1.442 MB / 0.5537 GB, free: 82.04 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002155/0.8085, allocations: 83.08 kB / 0.5538 GB, free: 82.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/0.8086, allocations: 65.3 kB / 0.5539 GB, free: 81.96 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 3.577e-06/0.8086, allocations: 0 / 0.5539 GB, free: 81.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.006764/0.8154, allocations: 4.038 MB / 0.5578 GB, free: 80.45 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.8154, allocations: 105 kB / 0.5579 GB, free: 80.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/0.8177, allocations: 1.902 MB / 0.5598 GB, free: 79.37 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001352/0.8178, allocations: 65.27 kB / 0.5599 GB, free: 79.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001086/0.8189, allocations: 2.642 MB / 0.5624 GB, free: 77.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005262/0.8194, allocations: 0.8544 MB / 0.5633 GB, free: 76.81 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007602/0.8202, allocations: 0.672 MB / 0.5639 GB, free: 76.43 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.757e-05/0.8202, allocations: 301.1 kB / 0.5642 GB, free: 76.13 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/0.8219, allocations: 1.406 MB / 0.5656 GB, free: 75.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002011/0.8239, allocations: 2.599 MB / 0.5681 GB, free: 73.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00383/0.8277, allocations: 4.249 MB / 0.5723 GB, free: 69.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.009e-05/0.8277, allocations: 16 kB / 0.5723 GB, free: 69.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005424/0.8332, allocations: 4.534 MB / 0.5767 GB, free: 65.15 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/0.8332, allocations: 20 kB / 0.5767 GB, free: 65.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.493e-05/0.8332, allocations: 44.7 kB / 0.5768 GB, free: 65.09 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006552/0.8339, allocations: 309.1 kB / 0.5771 GB, free: 64.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002299/0.8362, allocations: 0.7878 MB / 0.5778 GB, free: 64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003922/0.8401, allocations: 4.835 MB / 0.5826 GB, free: 58.96 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002115/0.8422, allocations: 420.2 kB / 0.583 GB, free: 58.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002529/0.8425, allocations: 168 kB / 0.5831 GB, free: 58.39 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * 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.002791/0.8453, allocations: 2.191 MB / 0.5853 GB, free: 56.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000343/0.8456, allocations: 215.9 kB / 0.5855 GB, free: 55.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00421/0.8498, allocations: 3.17 MB / 0.5886 GB, free: 52.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.661e-05/0.8498, allocations: 24 kB / 0.5886 GB, free: 52.75 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.8498, allocations: 4 kB / 0.5886 GB, free: 52.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.039e-05/0.8499, allocations: 11.95 kB / 0.5886 GB, free: 52.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/0.8658, allocations: 11.04 MB / 0.5994 GB, free: 41.49 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.589e-05/0.8658, allocations: 15.94 kB / 0.5994 GB, free: 41.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001576/0.8674, allocations: 439.4 kB / 0.5998 GB, free: 41.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006021/0.868, allocations: 277.9 kB / 0.6001 GB, free: 40.77 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001357/0.8681, allocations: 71.92 kB / 0.6002 GB, free: 40.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003868/0.872, allocations: 4.784 MB / 0.6048 GB, free: 35.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.829e-06/0.872, allocations: 19.94 kB / 0.6048 GB, free: 35.68 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005383/0.8774, allocations: 5.014 MB / 0.6097 GB, free: 30.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001098/0.8785, allocations: 489.7 kB / 0.6102 GB, free: 29.97 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002847/0.8788, allocations: 59.98 kB / 0.6103 GB, free: 29.91 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/0.88, allocations: 120 kB / 0.6104 GB, free: 29.8 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002823/0.8803, allocations: 217.2 kB / 0.6106 GB, free: 29.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001236/0.8804, allocations: 91.98 kB / 0.6107 GB, free: 29.49 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001444/0.8818, allocations: 1.291 MB / 0.6119 GB, free: 28.21 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8818, allocations: 3.938 kB / 0.6119 GB, free: 28.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003571/0.8854, allocations: 1.459 MB / 0.6134 GB, free: 26.74 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.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 (226): * Single equations (assignments): 224 * 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 Backend phase and start with SimCode phase: time 0.005779/0.8912, allocations: 5.686 MB / 0.6189 GB, free: 20.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004764/0.896, allocations: 3.491 MB / 0.6223 GB, free: 17.33 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-05/0.896, allocations: 4 kB / 0.6223 GB, free: 17.33 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00197/0.8979, allocations: 1.597 MB / 0.6239 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00274/0.9007, allocations: 0.5106 MB / 0.6244 GB, free: 15.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04467/0.9454, allocations: 29.07 MB / 0.6528 GB, free: 320 kB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005234/0.9506, allocations: 4.004 MB / 0.6567 GB, free: 12.27 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003137/0.9537, allocations: 1.203 MB / 0.6579 GB, free: 11.06 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00296/0.9567, allocations: 2.011 MB / 0.6598 GB, free: 9.051 MB / 478.1 MB Notification: Performance of SimCode: time 1.563e-06/0.9567, allocations: 0 / 0.6598 GB, free: 9.051 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1435/1.1, allocations: 69.95 MB / 0.7281 GB, free: 3.293 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.76/16.86, allocations: 3.859 kB / 0.7281 GB, free: 3.289 MB / 0.5294 GB " [Timeout remaining time 643] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.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_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.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_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv. Warning: Get data of variable resistor1_3.pin_p.reference.gamma from file Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv failed! Error: Could not read variable resistor2_3.pin_p.reference.gamma in file Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv. Warning: Get data of variable resistor2_3.pin_p.reference.gamma from file Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 19.52724608800054]