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.004939/0.004939, allocations: 114.2 kB / 21.97 MB, free: 5.227 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.00134/0.00134, allocations: 213.2 kB / 25.28 MB, free: 3.246 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.318/1.318, allocations: 207.6 MB / 236 MB, free: 9.988 MB / 190.1 MB " [Timeout remaining time 179] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad",fmuType="cs",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.001689/0.001689, allocations: 51.92 kB / 348 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2474, allocations: 49.16 MB / 397.2 MB, free: 8.969 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01303/0.2605, allocations: 14.68 MB / 411.8 MB, free: 14.34 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01089/0.2714, allocations: 3.983 MB / 415.8 MB, free: 11.52 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003791/0.2752, allocations: 99.34 kB / 415.9 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0132/0.2884, allocations: 5.648 MB / 421.6 MB, free: 7.465 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006925/0.2953, allocations: 1.645 MB / 423.2 MB, free: 6.164 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004345/0.2996, allocations: 1.255 MB / 424.5 MB, free: 5.195 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01081/0.3104, allocations: 6.874 MB / 431.3 MB, free: 1.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01971/0.3301, allocations: 9.266 MB / 440.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00739/0.3375, allocations: 3.569 MB / 444.2 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007309/0.3448, allocations: 4.166 MB / 448.3 MB, free: 15.89 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002389/0.3472, allocations: 0.918 MB / 449.3 MB, free: 14.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003548/0.3508, allocations: 1.101 MB / 450.4 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002281/0.3531, allocations: 1.932 MB / 452.3 MB, free: 11.93 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005922/0.359, allocations: 3.797 MB / 456.1 MB, free: 8.117 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01521/0.3742, allocations: 12.42 MB / 468.5 MB, free: 11.66 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.251e-06/0.3742, allocations: 0 / 468.5 MB, free: 11.66 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3742, allocations: 0 / 468.5 MB, free: 11.66 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003538/0.3746, allocations: 4 kB / 468.5 MB, free: 11.66 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.02357/0.3981, allocations: 8.362 MB / 476.9 MB, free: 3.227 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.923e-05/0.3982, allocations: 15.98 kB / 476.9 MB, free: 3.211 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002739/0.3985, allocations: 218.6 kB / 477.1 MB, free: 2.992 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002809/0.4013, allocations: 1.137 MB / 478.2 MB, free: 1.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02981/0.4311, allocations: 5.111 MB / 483.3 MB, free: 12.72 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007792/0.4389, allocations: 3.573 MB / 486.9 MB, free: 9.098 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004399/0.4393, allocations: 0.5138 MB / 487.4 MB, free: 8.582 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002004/0.4413, allocations: 0.6757 MB / 488.1 MB, free: 7.906 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02616/0.4675, allocations: 10.53 MB / 498.6 MB, free: 13.34 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002384/0.4677, allocations: 15.92 kB / 498.7 MB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001307/0.469, allocations: 292 kB / 498.9 MB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004111/0.4694, allocations: 378.8 kB / 499.3 MB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01827/0.4877, allocations: 9.665 MB / 0.497 GB, free: 2.992 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05195/0.5397, allocations: 30.18 MB / 0.5265 GB, free: 4.055 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01181/0.5515, allocations: 5.796 MB / 0.5322 GB, free: 14.74 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002818/0.5543, allocations: 1.787 MB / 0.5339 GB, free: 12.95 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009643/0.5639, allocations: 5.154 MB / 0.539 GB, free: 7.766 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.57e-05/0.564, allocations: 63.98 kB / 0.539 GB, free: 7.695 MB / 462.1 MB Notification: Performance of pre-optimization done (n=166): time 3.677e-06/0.564, allocations: 0 / 0.539 GB, free: 7.695 MB / 462.1 MB Notification: Performance of matching and sorting (n=218): time 0.02285/0.5868, allocations: 10.72 MB / 0.5495 GB, free: 12.88 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.486e-05/0.5869, allocations: 99.08 kB / 0.5496 GB, free: 12.76 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003979/0.5909, allocations: 2.624 MB / 0.5521 GB, free: 10.11 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001808/0.5911, allocations: 61.7 kB / 0.5522 GB, free: 10.04 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002351/0.5934, allocations: 3.233 MB / 0.5554 GB, free: 6.773 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007708/0.5942, allocations: 0.8098 MB / 0.5562 GB, free: 5.957 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001293/0.5955, allocations: 0.8858 MB / 0.557 GB, free: 5.059 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001293/0.5956, allocations: 305.1 kB / 0.5573 GB, free: 4.758 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002578/0.5982, allocations: 1.73 MB / 0.559 GB, free: 3.02 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.1943/0.7924, allocations: 3.552 MB / 0.5625 GB, free: 137.9 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005911/0.7984, allocations: 5.448 MB / 0.5678 GB, free: 134.7 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.072e-05/0.7984, allocations: 17.09 kB / 0.5678 GB, free: 134.7 MB / 478.1 MB Notification: Performance of matching and sorting (n=570) (initialization): time 0.00975/0.8082, allocations: 5.927 MB / 0.5736 GB, free: 132.5 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.056e-05/0.8082, allocations: 33.14 kB / 0.5736 GB, free: 132.5 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001107/0.8084, allocations: 61.22 kB / 0.5737 GB, free: 132.5 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/0.8097, allocations: 0.5619 MB / 0.5742 GB, free: 132.3 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003875/0.8136, allocations: 0.9581 MB / 0.5752 GB, free: 132.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009096/0.8227, allocations: 9.576 MB / 0.5845 GB, free: 124.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003394/0.8261, allocations: 255 kB / 0.5848 GB, free: 124.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005218/0.8266, allocations: 227.7 kB / 0.585 GB, free: 124.7 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 (514): * Single equations (assignments): 510 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,22,100.0%), (2,22,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003557/0.8302, allocations: 2.376 MB / 0.5873 GB, free: 123.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004182/0.8306, allocations: 255.3 kB / 0.5875 GB, free: 123.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004397/0.835, allocations: 3.239 MB / 0.5907 GB, free: 122.3 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.981e-05/0.835, allocations: 22.12 kB / 0.5907 GB, free: 122.3 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/0.835, allocations: 11.75 kB / 0.5907 GB, free: 122.3 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.035e-05/0.835, allocations: 12.72 kB / 0.5907 GB, free: 122.3 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/0.8457, allocations: 8.406 MB / 0.599 GB, free: 119 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.064e-06/0.8457, allocations: 0 / 0.599 GB, free: 119 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001343/0.847, allocations: 347.2 kB / 0.5993 GB, free: 119 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009093/0.8479, allocations: 449.4 kB / 0.5997 GB, free: 118.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/0.848, allocations: 46.09 kB / 0.5998 GB, free: 118.8 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006393/0.8544, allocations: 8.509 MB / 0.6081 GB, free: 111.9 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.8544, allocations: 0 / 0.6081 GB, free: 111.9 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005432/0.8599, allocations: 4.604 MB / 0.6126 GB, free: 107.4 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001185/0.861, allocations: 468.5 kB / 0.613 GB, free: 106.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003661/0.8614, allocations: 47.94 kB / 0.6131 GB, free: 106.9 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/0.8627, allocations: 119.9 kB / 0.6132 GB, free: 106.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003182/0.863, allocations: 161.7 kB / 0.6133 GB, free: 106.6 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001101/0.8631, allocations: 63.92 kB / 0.6134 GB, free: 106.5 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002414/0.8655, allocations: 1.714 MB / 0.6151 GB, free: 104.8 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.8655, allocations: 0 / 0.6151 GB, free: 104.8 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005499/0.871, allocations: 1.111 MB / 0.6161 GB, free: 103.7 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 (184): * Single equations (assignments): 180 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,5,100.0%), (1,3,100.0%), (2,22,100.0%), (2,14,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005897/0.8769, allocations: 5.228 MB / 0.6213 GB, free: 98.42 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005709/0.8827, allocations: 4.362 MB / 0.6255 GB, free: 94.03 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 9.718e-06/0.8827, allocations: 0 / 0.6255 GB, free: 94.03 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002002/0.8847, allocations: 1.865 MB / 0.6273 GB, free: 92.11 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002303/0.887, allocations: 0.51 MB / 0.6278 GB, free: 91.61 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04198/0.929, allocations: 34.24 MB / 0.6613 GB, free: 54.89 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003832/0.9328, allocations: 4.292 MB / 0.6655 GB, free: 50.56 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00335/0.9361, allocations: 1.371 MB / 0.6668 GB, free: 49.18 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002349/0.9385, allocations: 2.21 MB / 0.669 GB, free: 46.97 MB / 478.1 MB Notification: Performance of SimCode: time 1.804e-06/0.9385, allocations: 0 / 0.669 GB, free: 46.97 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1286/1.067, allocations: 78.83 MB / 0.7459 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.83/17.9, allocations: 10.02 kB / 0.746 GB, free: 15.98 MB / 0.5137 GB " [Timeout remaining time 642] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.867789098992944]