Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.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.001279/0.001279, allocations: 105.1 kB / 21.22 MB, free: 0.6289 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.001476/0.001476, allocations: 211.8 kB / 24.51 MB, free: 3.914 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.468/1.468, allocations: 230.6 MB / 258.3 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2351/0.2351, allocations: 46.97 MB / 361.7 MB, free: 4.023 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002247/0.002247, allocations: 63.91 kB / 0.4969 GB, free: 7.715 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3324, allocations: 66.03 MB / 0.5613 GB, free: 4.219 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01116/0.3436, allocations: 8.239 MB / 0.5694 GB, free: 11.94 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007854/0.3514, allocations: 2.71 MB / 0.572 GB, free: 9.219 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002187/0.3536, allocations: 87.56 kB / 0.5721 GB, free: 9.133 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00884/0.3625, allocations: 3.489 MB / 0.5755 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004189/0.3667, allocations: 1.08 MB / 0.5766 GB, free: 4.555 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002353/0.369, allocations: 0.7765 MB / 0.5773 GB, free: 3.781 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006641/0.3757, allocations: 4.864 MB / 0.5821 GB, free: 14.9 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01293/0.3886, allocations: 7.771 MB / 0.5897 GB, free: 7 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00481/0.3934, allocations: 2.852 MB / 0.5925 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005755/0.3991, allocations: 3.154 MB / 0.5955 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002407/0.4016, allocations: 0.7656 MB / 0.5963 GB, free: 216 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003537/0.4051, allocations: 0.9334 MB / 0.5972 GB, free: 15.28 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003385/0.4085, allocations: 1.613 MB / 0.5988 GB, free: 13.66 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006507/0.415, allocations: 2.335 MB / 0.6011 GB, free: 11.32 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0157/0.4307, allocations: 10.53 MB / 0.6113 GB, free: 0.75 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.4307, allocations: 3.938 kB / 0.6114 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.4307, allocations: 4 kB / 0.6114 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0003364/0.431, allocations: 0 / 0.6114 GB, free: 0.7422 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1440 * Number of variables: 1440 Notification: Performance of Generate backend data structure: time 0.02048/0.4515, allocations: 6.344 MB / 0.6175 GB, free: 10.34 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.4516, allocations: 16.03 kB / 0.6176 GB, free: 10.32 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0002324/0.4518, allocations: 162.4 kB / 0.6177 GB, free: 10.16 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003116/0.4549, allocations: 0.8963 MB / 0.6186 GB, free: 9.258 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02331/0.4782, allocations: 3.93 MB / 0.6224 GB, free: 5.32 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007449/0.4857, allocations: 3.272 MB / 0.6256 GB, free: 2.008 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005121/0.4862, allocations: 394.5 kB / 0.626 GB, free: 1.621 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002467/0.4886, allocations: 0.5078 MB / 0.6265 GB, free: 1.113 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02566/0.5143, allocations: 8.756 MB / 0.6351 GB, free: 8.316 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002636/0.5146, allocations: 7.953 kB / 0.6351 GB, free: 8.309 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001944/0.5165, allocations: 216 kB / 0.6353 GB, free: 8.098 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004987/0.517, allocations: 339.2 kB / 0.6356 GB, free: 7.762 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01975/0.5368, allocations: 8.066 MB / 0.6435 GB, free: 15.67 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04904/0.5858, allocations: 23.37 MB / 0.6663 GB, free: 7.762 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01246/0.5983, allocations: 4.707 MB / 0.6709 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003122/0.6014, allocations: 1.53 MB / 0.6724 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002704/0.6017, allocations: 65.94 kB / 0.6724 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.751e-05/0.6017, allocations: 64.5 kB / 0.6725 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=226): time 4.919e-06/0.6017, allocations: 0 / 0.6725 GB, free: 1.484 MB / 0.4981 GB Notification: Performance of matching and sorting (n=248): time 0.02141/0.6231, allocations: 9.272 MB / 0.6816 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.542e-05/0.6232, allocations: 103.4 kB / 0.6817 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006276/0.6295, allocations: 3.43 MB / 0.685 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004059/0.6299, allocations: 65.7 kB / 0.6851 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002024/0.6319, allocations: 2.222 MB / 0.6872 GB, free: 2.281 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001172/0.6331, allocations: 0.8949 MB / 0.6881 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00175/0.6349, allocations: 0.7547 MB / 0.6888 GB, free: 0.6172 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.635, allocations: 305.1 kB / 0.6891 GB, free: 324 kB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003627/0.6386, allocations: 1.803 MB / 0.6909 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005093/0.6437, allocations: 3.447 MB / 0.6943 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008369/0.6521, allocations: 5.594 MB / 0.6997 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.117e-05/0.6521, allocations: 16 kB / 0.6997 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of matching and sorting (n=476) (initialization): time 0.01088/0.663, allocations: 5.486 MB / 0.7051 GB, free: 14.41 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.92e-05/0.6631, allocations: 30.66 kB / 0.7051 GB, free: 14.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001051/0.6632, allocations: 59.98 kB / 0.7052 GB, free: 14.33 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001018/0.6633, allocations: 76 kB / 0.7053 GB, free: 14.25 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004328/0.6676, allocations: 1.065 MB / 0.7063 GB, free: 13.19 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001342/0.6678, allocations: 115.6 kB / 0.7064 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003042/0.6708, allocations: 267.7 kB / 0.7067 GB, free: 12.81 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005977/0.6714, allocations: 208 kB / 0.7069 GB, free: 12.61 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 252 * 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 (476): * Single equations (assignments): 476 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003935/0.6753, allocations: 2.116 MB / 0.7089 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006354/0.676, allocations: 286.1 kB / 0.7092 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007632/0.6836, allocations: 3.792 MB / 0.7129 GB, free: 6.383 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.47e-05/0.6836, allocations: 24 kB / 0.7129 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.5e-05/0.6836, allocations: 0 / 0.7129 GB, free: 6.359 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.504e-05/0.6837, allocations: 15.95 kB / 0.7129 GB, free: 6.344 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01842/0.7021, allocations: 9.109 MB / 0.7218 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-05/0.7021, allocations: 16 kB / 0.7219 GB, free: 12.94 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003149/0.7053, allocations: 0.7062 MB / 0.7225 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.8e-05/0.7054, allocations: 28 kB / 0.7226 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002726/0.7056, allocations: 83.97 kB / 0.7226 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.687e-05/0.7057, allocations: 39.86 kB / 0.7227 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.408e-05/0.7057, allocations: 31.88 kB / 0.7227 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/0.7166, allocations: 6.246 MB / 0.7288 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002212/0.7188, allocations: 0.6735 MB / 0.7295 GB, free: 4.746 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000796/0.7196, allocations: 71.98 kB / 0.7295 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00204/0.7216, allocations: 163.8 kB / 0.7297 GB, free: 4.516 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004444/0.7221, allocations: 245.3 kB / 0.7299 GB, free: 4.277 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002069/0.7223, allocations: 115.9 kB / 0.73 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004558/0.7268, allocations: 2.384 MB / 0.7324 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7268, allocations: 3.938 kB / 0.7324 GB, free: 1.766 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004345/0.7312, allocations: 0.8867 MB / 0.7332 GB, free: 0.8789 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 73 * Number of states: 2 (currentSource.currentSource.plug_p.reference.gamma,voltageSource.voltageSource.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 (309): * Single equations (assignments): 309 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.2777/1.009, allocations: 6.908 MB / 0.74 GB, free: 148.5 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00563/1.015, allocations: 4.021 MB / 0.7439 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.711e-05/1.015, allocations: 3.75 kB / 0.7439 GB, free: 147.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002434/1.017, allocations: 1.757 MB / 0.7456 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002903/1.02, allocations: 0.5468 MB / 0.7462 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05187/1.072, allocations: 39.79 MB / 0.785 GB, free: 108.7 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004677/1.076, allocations: 3.163 MB / 0.7881 GB, free: 105.5 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003387/1.08, allocations: 1.575 MB / 0.7897 GB, free: 103.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002232/1.082, allocations: 1.702 MB / 0.7913 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of SimCode: time 1.012e-06/1.082, allocations: 0 / 0.7913 GB, free: 102.2 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1111/1.193, allocations: 81.31 MB / 0.8707 GB, free: 21.45 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.62/18.81, allocations: 8.047 kB / 0.8707 GB, free: 21.44 MB / 0.5606 GB " [Timeout remaining time 641] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep.fmu > ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 24.44266152905766]