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.001812/0.001812, allocations: 121.3 kB / 18.5 MB, free: 4.578 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.002798/0.002798, allocations: 210.5 kB / 21.46 MB, free: 1.625 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.47/1.47, allocations: 230.2 MB / 254.5 MB, free: 15.41 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.001877/0.001877, allocations: 67.88 kB / 373.4 MB, free: 10.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09909/0.101, allocations: 53.32 MB / 426.7 MB, free: 5.004 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01596/0.1169, allocations: 14 MB / 440.7 MB, free: 6.938 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.007958/0.1249, allocations: 3.851 MB / 444.5 MB, free: 3.074 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001782/0.1267, allocations: 103.7 kB / 444.6 MB, free: 2.973 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2036/0.3303, allocations: 5.593 MB / 450.2 MB, free: 7.68 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004208/0.3345, allocations: 1.367 MB / 451.6 MB, free: 7.668 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002733/0.3372, allocations: 1.199 MB / 452.8 MB, free: 7.656 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.007541/0.3448, allocations: 6.382 MB / 459.2 MB, free: 7.477 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01403/0.3588, allocations: 10.75 MB / 469.9 MB, free: 2.504 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004725/0.3635, allocations: 3.292 MB / 473.2 MB, free: 0.9844 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008449/0.372, allocations: 4.079 MB / 477.3 MB, free: 0 / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002524/0.3745, allocations: 0.8853 MB / 478.2 MB, free: 0 / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004013/0.3785, allocations: 1.091 MB / 479.3 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002427/0.381, allocations: 1.779 MB / 481 MB, free: 14.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006745/0.3877, allocations: 3.56 MB / 484.6 MB, free: 12.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01439/0.4021, allocations: 12 MB / 496.6 MB, free: 3.293 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.347e-06/0.4021, allocations: 3.938 kB / 496.6 MB, free: 3.289 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.4021, allocations: 4 kB / 496.6 MB, free: 3.285 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000391/0.4025, allocations: 4 kB / 496.6 MB, free: 3.281 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: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02103/0.4235, allocations: 7.905 MB / 0.4927 GB, free: 11.35 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.4236, allocations: 12.03 kB / 0.4927 GB, free: 11.34 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002329/0.4259, allocations: 1.044 MB / 0.4937 GB, free: 10.29 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0187/0.4446, allocations: 2.875 MB / 0.4965 GB, free: 7.453 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009089/0.4537, allocations: 3.768 MB / 0.5002 GB, free: 3.652 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004431/0.4541, allocations: 482.8 kB / 0.5007 GB, free: 3.184 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001934/0.4561, allocations: 0.6163 MB / 0.5013 GB, free: 2.57 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01901/0.4751, allocations: 9.36 MB / 0.5104 GB, free: 9.164 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001499/0.4752, allocations: 7.953 kB / 0.5104 GB, free: 9.156 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006723/0.4759, allocations: 271.4 kB / 0.5107 GB, free: 8.902 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003219/0.4762, allocations: 317.5 kB / 0.511 GB, free: 8.59 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01551/0.4917, allocations: 7.985 MB / 0.5188 GB, free: 0.5898 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04773/0.5395, allocations: 28.8 MB / 0.5469 GB, free: 3.059 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01231/0.5518, allocations: 11.48 MB / 0.5581 GB, free: 5.91 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00261/0.5544, allocations: 1.458 MB / 0.5595 GB, free: 4.453 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003073/0.5547, allocations: 231.3 kB / 0.5598 GB, free: 4.203 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.113e-05/0.5547, allocations: 60.94 kB / 0.5598 GB, free: 4.137 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 3.787e-06/0.5547, allocations: 3.938 kB / 0.5598 GB, free: 4.133 MB / 462.1 MB Notification: Performance of matching and sorting (n=238): time 0.008348/0.5631, allocations: 4.186 MB / 0.5639 GB, free: 15.9 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.684e-05/0.5632, allocations: 103.1 kB / 0.564 GB, free: 15.78 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003028/0.5662, allocations: 1.903 MB / 0.5659 GB, free: 13.87 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001877/0.5664, allocations: 65.7 kB / 0.5659 GB, free: 13.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001878/0.5683, allocations: 2.64 MB / 0.5685 GB, free: 11.15 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008409/0.5691, allocations: 0.8504 MB / 0.5693 GB, free: 10.31 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009874/0.5701, allocations: 0.6796 MB / 0.57 GB, free: 9.625 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001349/0.5702, allocations: 305.1 kB / 0.5703 GB, free: 9.324 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002211/0.5724, allocations: 1.404 MB / 0.5717 GB, free: 7.918 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003236/0.5757, allocations: 2.6 MB / 0.5742 GB, free: 4.789 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005811/0.5815, allocations: 4.249 MB / 0.5784 GB, free: 16 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.498e-05/0.5815, allocations: 12 kB / 0.5784 GB, free: 4 kB / 478.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.007464/0.589, allocations: 4.531 MB / 0.5828 GB, free: 11.46 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.521e-05/0.589, allocations: 20 kB / 0.5828 GB, free: 11.44 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.573e-05/0.5891, allocations: 43.98 kB / 0.5828 GB, free: 11.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000798/0.5899, allocations: 309.4 kB / 0.5831 GB, free: 11.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002775/0.5927, allocations: 0.78 MB / 0.5839 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005929/0.5986, allocations: 5.052 MB / 0.5888 GB, free: 4.973 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002338/0.6009, allocations: 421.1 kB / 0.5892 GB, free: 4.559 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003663/0.6013, allocations: 168 kB / 0.5894 GB, free: 4.395 MB / 494.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.003692/0.605, allocations: 2.191 MB / 0.5915 GB, free: 2.191 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004366/0.6054, allocations: 218.6 kB / 0.5917 GB, free: 1.977 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005484/0.6109, allocations: 3.166 MB / 0.5948 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.428e-05/0.6109, allocations: 27.83 kB / 0.5949 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/0.6109, allocations: 8 kB / 0.5949 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.391e-05/0.611, allocations: 19.89 kB / 0.5949 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01975/0.6307, allocations: 12.67 MB / 0.6073 GB, free: 1.445 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-05/0.6307, allocations: 12 kB / 0.6073 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/0.6325, allocations: 443.3 kB / 0.6077 GB, free: 1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006943/0.6331, allocations: 274.1 kB / 0.608 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/0.6333, allocations: 67.98 kB / 0.608 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005765/0.6391, allocations: 4.993 MB / 0.6129 GB, free: 11.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.681e-05/0.6391, allocations: 19.94 kB / 0.6129 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007446/0.6465, allocations: 5.022 MB / 0.6178 GB, free: 6.148 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001273/0.6478, allocations: 0.5418 MB / 0.6184 GB, free: 5.586 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003004/0.6481, allocations: 63.98 kB / 0.6184 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001235/0.6493, allocations: 111.9 kB / 0.6185 GB, free: 5.414 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003527/0.6497, allocations: 213.5 kB / 0.6187 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001496/0.6498, allocations: 95.91 kB / 0.6188 GB, free: 5.109 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001987/0.6518, allocations: 1.291 MB / 0.6201 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.6518, allocations: 0 / 0.6201 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003851/0.6557, allocations: 1.459 MB / 0.6215 GB, free: 2.359 MB / 0.5137 GB 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.007979/0.6637, allocations: 5.676 MB / 0.627 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006039/0.6697, allocations: 3.494 MB / 0.6305 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.315e-05/0.6697, allocations: 6 kB / 0.6305 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.00262/0.6723, allocations: 1.595 MB / 0.632 GB, free: 7.332 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002804/0.6751, allocations: 0.5094 MB / 0.6325 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2303/0.9055, allocations: 28.99 MB / 0.6608 GB, free: 162.7 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004863/0.9103, allocations: 4.012 MB / 0.6647 GB, free: 161 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003106/0.9134, allocations: 1.19 MB / 0.6659 GB, free: 160.9 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002234/0.9157, allocations: 2.009 MB / 0.6679 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of SimCode: time 2.074e-06/0.9157, allocations: 0 / 0.6679 GB, free: 159.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1131/1.029, allocations: 67.08 MB / 0.7334 GB, free: 105.1 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/15.54, allocations: 3.75 kB / 0.7334 GB, free: 105.1 MB / 0.5294 GB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 18.42917264578864]