Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 123.9 kB / 17.79 MB, free: 5.285 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 185.3 kB / 20.73 MB, free: 2.355 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.389/1.389, allocations: 225.6 MB / 249.1 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 47.92 kB / 365.7 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1022, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01644/0.1187, allocations: 13.99 MB / 431.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.008192/0.1269, allocations: 3.785 MB / 435.6 MB, free: 10.78 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002346/0.1292, allocations: 99.75 kB / 435.7 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01282/0.142, allocations: 5.603 MB / 441.3 MB, free: 5.066 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005755/0.1478, allocations: 1.53 MB / 442.8 MB, free: 3.531 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003351/0.1511, allocations: 1.059 MB / 443.9 MB, free: 2.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.2111/0.3622, allocations: 6.292 MB / 450.1 MB, free: 7.406 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01397/0.3762, allocations: 10.74 MB / 460.9 MB, free: 5.672 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004452/0.3807, allocations: 3.292 MB / 464.2 MB, free: 4.242 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006158/0.3868, allocations: 3.872 MB / 468 MB, free: 2.438 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002441/0.3893, allocations: 0.8849 MB / 468.9 MB, free: 2.438 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003816/0.3931, allocations: 1.07 MB / 470 MB, free: 2.391 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00214/0.3952, allocations: 1.773 MB / 471.8 MB, free: 1.195 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009129/0.4043, allocations: 3.74 MB / 475.5 MB, free: 15.51 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01573/0.4201, allocations: 11.98 MB / 487.5 MB, free: 9.543 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.4201, allocations: 0 / 487.5 MB, free: 9.543 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4201, allocations: 0 / 487.5 MB, free: 9.543 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000372/0.4205, allocations: 0 / 487.5 MB, free: 9.543 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.02167/0.4421, allocations: 7.907 MB / 495.4 MB, free: 3.148 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.4422, allocations: 8.031 kB / 495.4 MB, free: 3.141 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00273/0.4449, allocations: 1.052 MB / 496.5 MB, free: 2.082 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01866/0.4636, allocations: 2.916 MB / 499.4 MB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009871/0.4734, allocations: 3.752 MB / 0.4913 GB, free: 11.59 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004675/0.4739, allocations: 483.6 kB / 0.4918 GB, free: 11.11 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00237/0.4763, allocations: 0.6268 MB / 0.4924 GB, free: 10.49 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02329/0.4996, allocations: 9.332 MB / 0.5015 GB, free: 1.113 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001599/0.4997, allocations: 11.95 kB / 0.5015 GB, free: 1.102 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007042/0.5004, allocations: 268.4 kB / 0.5018 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003274/0.5008, allocations: 317.5 kB / 0.5021 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01535/0.5161, allocations: 7.966 MB / 0.5099 GB, free: 8.559 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05055/0.5667, allocations: 28.32 MB / 0.5375 GB, free: 12 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01215/0.5788, allocations: 11.47 MB / 0.5487 GB, free: 14.88 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002595/0.5814, allocations: 1.461 MB / 0.5502 GB, free: 13.42 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002192/0.5816, allocations: 130 kB / 0.5503 GB, free: 13.28 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.89e-05/0.5817, allocations: 60.55 kB / 0.5503 GB, free: 13.21 MB / 462.1 MB Notification: Performance of pre-optimization done (n=238): time 6.252e-06/0.5817, allocations: 4 kB / 0.5503 GB, free: 13.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=238): time 0.008318/0.59, allocations: 4.164 MB / 0.5544 GB, free: 9.016 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000139/0.5901, allocations: 103.1 kB / 0.5545 GB, free: 8.895 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003136/0.5933, allocations: 1.907 MB / 0.5564 GB, free: 6.98 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.5934, allocations: 65.7 kB / 0.5564 GB, free: 6.91 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001879/0.5953, allocations: 2.639 MB / 0.559 GB, free: 4.262 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007832/0.5961, allocations: 0.8562 MB / 0.5598 GB, free: 3.418 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009877/0.5971, allocations: 0.6601 MB / 0.5605 GB, free: 2.75 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.5972, allocations: 309 kB / 0.5608 GB, free: 2.445 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002144/0.5994, allocations: 1.4 MB / 0.5621 GB, free: 1.043 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003228/0.6026, allocations: 2.599 MB / 0.5647 GB, free: 13.94 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005576/0.6082, allocations: 4.236 MB / 0.5688 GB, free: 9.328 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.523e-05/0.6082, allocations: 12 kB / 0.5688 GB, free: 9.316 MB / 478.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.007242/0.6154, allocations: 4.513 MB / 0.5732 GB, free: 5.027 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.135e-05/0.6155, allocations: 20 kB / 0.5733 GB, free: 5.008 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.667e-05/0.6155, allocations: 40 kB / 0.5733 GB, free: 4.969 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000819/0.6163, allocations: 313.6 kB / 0.5736 GB, free: 4.656 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002664/0.619, allocations: 0.7773 MB / 0.5744 GB, free: 3.934 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006021/0.625, allocations: 5.048 MB / 0.5793 GB, free: 14.64 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00257/0.6276, allocations: 429.2 kB / 0.5797 GB, free: 14.22 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003217/0.6279, allocations: 160 kB / 0.5798 GB, free: 14.07 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.003932/0.6319, allocations: 2.196 MB / 0.582 GB, free: 11.91 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004502/0.6323, allocations: 218.5 kB / 0.5822 GB, free: 11.7 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005503/0.6378, allocations: 3.166 MB / 0.5853 GB, free: 8.531 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.463e-05/0.6378, allocations: 28 kB / 0.5853 GB, free: 8.504 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.6378, allocations: 4 kB / 0.5853 GB, free: 8.5 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-05/0.6379, allocations: 15.89 kB / 0.5853 GB, free: 8.484 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01922/0.6571, allocations: 11.75 MB / 0.5968 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.111e-05/0.6571, allocations: 12 kB / 0.5968 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00171/0.6588, allocations: 436.5 kB / 0.5972 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007089/0.6595, allocations: 278 kB / 0.5975 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001458/0.6597, allocations: 70.89 kB / 0.5976 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005703/0.6654, allocations: 4.993 MB / 0.6025 GB, free: 6.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.667e-05/0.6654, allocations: 23.41 kB / 0.6025 GB, free: 6.418 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007309/0.6727, allocations: 5 MB / 0.6074 GB, free: 1.238 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/0.674, allocations: 0.5419 MB / 0.6079 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003096/0.6744, allocations: 60.06 kB / 0.6079 GB, free: 0.6172 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/0.6756, allocations: 127.8 kB / 0.6081 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003495/0.676, allocations: 204.7 kB / 0.6083 GB, free: 308 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/0.6761, allocations: 87.98 kB / 0.6083 GB, free: 220 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002125/0.6782, allocations: 1.291 MB / 0.6096 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9e-08/0.6782, allocations: 0 / 0.6096 GB, free: 14.93 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004156/0.6824, allocations: 1.456 MB / 0.611 GB, free: 13.47 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.008033/0.6904, allocations: 5.659 MB / 0.6166 GB, free: 7.637 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.006175/0.6966, allocations: 3.49 MB / 0.62 GB, free: 4.281 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-05/0.6966, allocations: 4 kB / 0.62 GB, free: 4.277 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.002504/0.6991, allocations: 1.584 MB / 0.6215 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002767/0.7019, allocations: 0.5242 MB / 0.622 GB, free: 2.227 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2549/0.9568, allocations: 28.99 MB / 0.6503 GB, free: 179.9 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00457/0.9614, allocations: 4.007 MB / 0.6542 GB, free: 178.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003204/0.9646, allocations: 1.195 MB / 0.6554 GB, free: 178.5 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002164/0.9668, allocations: 1.994 MB / 0.6574 GB, free: 176.8 MB / 0.5294 GB Notification: Performance of SimCode: time 1.453e-06/0.9668, allocations: 0 / 0.6574 GB, free: 176.8 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1036/1.07, allocations: 66.76 MB / 0.7226 GB, free: 128.2 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.8, allocations: 22.98 kB / 0.7226 GB, free: 128.2 MB / 0.5294 GB " [Timeout remaining time 645] (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_QuasiStatic_Polyphase_Examples_UnsymmetricalLoad.fmu > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.55962187005207]