Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.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.00127/0.00127, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001456/0.001456, allocations: 210.5 kB / 23.73 MB, free: 4.387 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.433/1.433, allocations: 230.6 MB / 257.5 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001512/0.001512, allocations: 47.92 kB / 377.7 MB, free: 2.984 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2514, allocations: 53.36 MB / 431.1 MB, free: 6.664 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.0149/0.2663, allocations: 12 MB / 443.1 MB, free: 10.61 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008492/0.2748, allocations: 3.709 MB / 446.8 MB, free: 6.895 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002622/0.2774, allocations: 119.4 kB / 446.9 MB, free: 6.777 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01271/0.2901, allocations: 5.164 MB / 452.1 MB, free: 1.602 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005215/0.2953, allocations: 1.41 MB / 453.5 MB, free: 192 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003467/0.2988, allocations: 1.182 MB / 454.7 MB, free: 15.02 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.009699/0.3085, allocations: 6.49 MB / 461.2 MB, free: 8.504 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01571/0.3242, allocations: 9.158 MB / 470.3 MB, free: 15.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004893/0.3291, allocations: 3.363 MB / 473.7 MB, free: 11.85 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006407/0.3355, allocations: 3.886 MB / 477.6 MB, free: 7.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002199/0.3377, allocations: 0.8867 MB / 478.5 MB, free: 7.062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003093/0.3408, allocations: 1.078 MB / 479.5 MB, free: 5.984 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002434/0.3432, allocations: 1.777 MB / 481.3 MB, free: 4.203 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00516/0.3484, allocations: 2.794 MB / 484.1 MB, free: 1.398 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01575/0.3641, allocations: 12.04 MB / 496.1 MB, free: 5.32 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.3641, allocations: 0 / 496.1 MB, free: 5.32 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3641, allocations: 4 kB / 496.2 MB, free: 5.316 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0003716/0.3645, allocations: 3.938 kB / 496.2 MB, free: 5.312 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.02357/0.3881, allocations: 7.837 MB / 0.4922 GB, free: 13.41 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.721e-05/0.3881, allocations: 8.031 kB / 0.4922 GB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003027/0.3911, allocations: 1.047 MB / 0.4932 GB, free: 12.34 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02042/0.4116, allocations: 2.885 MB / 0.496 GB, free: 9.453 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009555/0.4211, allocations: 3.748 MB / 0.4997 GB, free: 5.656 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005125/0.4216, allocations: 485.1 kB / 0.5002 GB, free: 5.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002246/0.4239, allocations: 0.6288 MB / 0.5008 GB, free: 4.551 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02593/0.4498, allocations: 9.505 MB / 0.51 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003539/0.4502, allocations: 15.94 kB / 0.5101 GB, free: 10.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002185/0.4523, allocations: 260 kB / 0.5103 GB, free: 10.68 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000391/0.4527, allocations: 321.4 kB / 0.5106 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01766/0.4704, allocations: 7.954 MB / 0.5184 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2612/0.7316, allocations: 25.2 MB / 0.543 GB, free: 84.77 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007149/0.7387, allocations: 3.905 MB / 0.5468 GB, free: 84.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001914/0.7407, allocations: 1.45 MB / 0.5482 GB, free: 84.66 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001854/0.7408, allocations: 69.7 kB / 0.5483 GB, free: 84.66 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.51e-05/0.7409, allocations: 64.41 kB / 0.5483 GB, free: 84.61 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 4.338e-06/0.7409, allocations: 0 / 0.5483 GB, free: 84.61 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.007066/0.748, allocations: 4.035 MB / 0.5523 GB, free: 83.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.108e-05/0.748, allocations: 105.7 kB / 0.5524 GB, free: 83.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002214/0.7502, allocations: 1.974 MB / 0.5543 GB, free: 82.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001552/0.7504, allocations: 68.58 kB / 0.5544 GB, free: 82.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00129/0.7517, allocations: 2.644 MB / 0.557 GB, free: 81.34 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005436/0.7522, allocations: 0.8579 MB / 0.5578 GB, free: 80.78 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008025/0.753, allocations: 0.669 MB / 0.5585 GB, free: 80.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.842e-05/0.753, allocations: 301.1 kB / 0.5587 GB, free: 80.17 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001581/0.7546, allocations: 1.41 MB / 0.5601 GB, free: 79.68 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001932/0.7565, allocations: 2.595 MB / 0.5627 GB, free: 77.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003728/0.7603, allocations: 4.253 MB / 0.5668 GB, free: 74.43 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.773e-05/0.7603, allocations: 12 kB / 0.5668 GB, free: 74.42 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005672/0.766, allocations: 4.542 MB / 0.5713 GB, free: 69.86 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.092e-05/0.766, allocations: 27.97 kB / 0.5713 GB, free: 69.84 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.846e-05/0.7661, allocations: 40 kB / 0.5713 GB, free: 69.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000704/0.7668, allocations: 307.2 kB / 0.5716 GB, free: 69.49 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002469/0.7692, allocations: 0.78 MB / 0.5724 GB, free: 68.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00391/0.7731, allocations: 4.789 MB / 0.5771 GB, free: 63.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002223/0.7754, allocations: 421.1 kB / 0.5775 GB, free: 63.31 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002761/0.7756, allocations: 168 kB / 0.5776 GB, free: 63.14 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.002834/0.7785, allocations: 2.187 MB / 0.5797 GB, free: 60.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003771/0.7789, allocations: 222.5 kB / 0.58 GB, free: 60.73 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004097/0.783, allocations: 3.166 MB / 0.5831 GB, free: 57.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.329e-05/0.783, allocations: 24 kB / 0.5831 GB, free: 57.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.107e-06/0.783, allocations: 8 kB / 0.5831 GB, free: 57.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.797e-05/0.783, allocations: 11.95 kB / 0.5831 GB, free: 57.48 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/0.7989, allocations: 10.76 MB / 0.5936 GB, free: 46.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.775e-05/0.799, allocations: 12 kB / 0.5936 GB, free: 46.51 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001646/0.8006, allocations: 440.1 kB / 0.594 GB, free: 46.08 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006008/0.8012, allocations: 276.6 kB / 0.5943 GB, free: 45.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001407/0.8013, allocations: 67.98 kB / 0.5944 GB, free: 45.74 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003792/0.8051, allocations: 4.724 MB / 0.599 GB, free: 40.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.748e-06/0.8051, allocations: 23.88 kB / 0.599 GB, free: 40.77 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005413/0.8106, allocations: 5.018 MB / 0.6039 GB, free: 35.54 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001215/0.8118, allocations: 481.8 kB / 0.6044 GB, free: 35.06 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000295/0.8121, allocations: 63.94 kB / 0.6044 GB, free: 35 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001291/0.8134, allocations: 124 kB / 0.6045 GB, free: 34.88 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002891/0.8136, allocations: 217.2 kB / 0.6047 GB, free: 34.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001325/0.8138, allocations: 87.98 kB / 0.6048 GB, free: 34.58 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001498/0.8153, allocations: 1.291 MB / 0.6061 GB, free: 33.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.8153, allocations: 0 / 0.6061 GB, free: 33.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003597/0.8189, allocations: 1.463 MB / 0.6075 GB, free: 31.83 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.005882/0.8248, allocations: 5.679 MB / 0.6131 GB, free: 25.93 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004742/0.8295, allocations: 3.498 MB / 0.6165 GB, free: 22.42 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.966e-05/0.8295, allocations: 0 / 0.6165 GB, free: 22.42 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00196/0.8315, allocations: 1.597 MB / 0.618 GB, free: 20.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002842/0.8343, allocations: 0.5233 MB / 0.6185 GB, free: 20.29 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04295/0.8773, allocations: 29.09 MB / 0.6469 GB, free: 5.387 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005104/0.8824, allocations: 3.49 MB / 0.6504 GB, free: 1.855 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003124/0.8855, allocations: 1.195 MB / 0.6515 GB, free: 0.6523 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00309/0.8886, allocations: 2.021 MB / 0.6535 GB, free: 14.66 MB / 478.1 MB Notification: Performance of SimCode: time 1.272e-06/0.8886, allocations: 0 / 0.6535 GB, free: 14.66 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1363/1.025, allocations: 70.3 MB / 0.7221 GB, free: 8.812 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.34/14.37, allocations: 5.719 kB / 0.7222 GB, free: 8.812 MB / 0.5294 GB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/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_4.1.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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: 17.069927532982547]