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.001751/0.001751, allocations: 111.1 kB / 20.44 MB, free: 1.184 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.002283/0.002283, allocations: 208.4 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.515/1.515, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.237/0.237, allocations: 46.95 MB / 360.9 MB, free: 4.113 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 71.89 kB / 0.4961 GB, free: 7.699 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.305/0.3071, allocations: 66.04 MB / 0.5606 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01044/0.3176, allocations: 8.227 MB / 0.5686 GB, free: 11.91 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005908/0.3235, allocations: 2.733 MB / 0.5713 GB, free: 9.168 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001941/0.3254, allocations: 87.56 kB / 0.5714 GB, free: 9.082 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008873/0.3343, allocations: 3.492 MB / 0.5748 GB, free: 5.582 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004142/0.3384, allocations: 1.072 MB / 0.5758 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002339/0.3408, allocations: 0.7679 MB / 0.5766 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00672/0.3475, allocations: 4.871 MB / 0.5813 GB, free: 14.86 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01382/0.3613, allocations: 7.701 MB / 0.5889 GB, free: 7.027 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004795/0.3661, allocations: 2.86 MB / 0.5917 GB, free: 4.16 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005766/0.3719, allocations: 3.068 MB / 0.5947 GB, free: 1.082 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002008/0.3739, allocations: 0.7656 MB / 0.5954 GB, free: 324 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002793/0.3767, allocations: 0.9217 MB / 0.5963 GB, free: 15.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002291/0.379, allocations: 1.602 MB / 0.5979 GB, free: 13.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00434/0.3833, allocations: 2.346 MB / 0.6002 GB, free: 11.43 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01155/0.3949, allocations: 10.53 MB / 0.6104 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3949, allocations: 0 / 0.6104 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.3949, allocations: 0 / 0.6104 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0001964/0.3951, allocations: 3.938 kB / 0.6104 GB, free: 0.8672 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.01627/0.4113, allocations: 6.348 MB / 0.6166 GB, free: 10.46 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.4114, allocations: 8.031 kB / 0.6166 GB, free: 10.45 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001921/0.4133, allocations: 0.8883 MB / 0.6175 GB, free: 9.555 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02177/0.4351, allocations: 3.922 MB / 0.6213 GB, free: 5.625 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008567/0.4436, allocations: 3.276 MB / 0.6245 GB, free: 2.309 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004823/0.4441, allocations: 394.5 kB / 0.6249 GB, free: 1.922 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002421/0.4465, allocations: 0.4999 MB / 0.6254 GB, free: 1.422 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02109/0.4676, allocations: 8.732 MB / 0.6339 GB, free: 8.648 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001385/0.4678, allocations: 4 kB / 0.6339 GB, free: 8.645 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007086/0.4685, allocations: 208 kB / 0.6341 GB, free: 8.441 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000392/0.4689, allocations: 343.2 kB / 0.6345 GB, free: 8.102 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01693/0.4858, allocations: 8.023 MB / 0.6423 GB, free: 56 kB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04431/0.5301, allocations: 23.3 MB / 0.6651 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01147/0.5416, allocations: 4.558 MB / 0.6695 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002872/0.5445, allocations: 1.479 MB / 0.671 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002116/0.5447, allocations: 61.95 kB / 0.671 GB, free: 2.211 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.073e-05/0.5447, allocations: 60.48 kB / 0.6711 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=214): time 4.629e-06/0.5447, allocations: 4 kB / 0.6711 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of matching and sorting (n=214): time 0.006518/0.5512, allocations: 3.523 MB / 0.6745 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001047/0.5514, allocations: 99.11 kB / 0.6746 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00856/0.5599, allocations: 3.515 MB / 0.678 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0007383/0.5607, allocations: 53.7 kB / 0.6781 GB, free: 10.9 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002748/0.5634, allocations: 2.237 MB / 0.6803 GB, free: 8.645 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001172/0.5646, allocations: 0.7748 MB / 0.681 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001205/0.5658, allocations: 0.7109 MB / 0.6817 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001477/0.5659, allocations: 305.1 kB / 0.682 GB, free: 6.844 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002949/0.5689, allocations: 1.564 MB / 0.6835 GB, free: 5.277 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004501/0.5734, allocations: 3.191 MB / 0.6867 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007627/0.581, allocations: 5.075 MB / 0.6916 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.426e-05/0.581, allocations: 16 kB / 0.6916 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008844/0.5899, allocations: 4.964 MB / 0.6965 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.17e-05/0.5899, allocations: 28 kB / 0.6965 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.233e-05/0.59, allocations: 56 kB / 0.6966 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.374e-05/0.5901, allocations: 83.98 kB / 0.6966 GB, free: 6.312 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003099/0.5932, allocations: 0.917 MB / 0.6975 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001074/0.5933, allocations: 115.6 kB / 0.6976 GB, free: 5.281 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002674/0.596, allocations: 0.5741 MB / 0.6982 GB, free: 4.703 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002829/0.5963, allocations: 199.9 kB / 0.6984 GB, free: 4.508 MB / 0.5294 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 (442): * Single equations (assignments): 442 * 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.003248/0.5995, allocations: 2.081 MB / 0.7004 GB, free: 2.414 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000514/0.6, allocations: 270.2 kB / 0.7007 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005818/0.6058, allocations: 3.179 MB / 0.7038 GB, free: 14.94 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.491e-05/0.6059, allocations: 24 kB / 0.7038 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.6059, allocations: 0 / 0.7038 GB, free: 14.92 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.169e-05/0.6059, allocations: 11.95 kB / 0.7038 GB, free: 14.91 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01545/0.6213, allocations: 8.275 MB / 0.7119 GB, free: 6.352 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.571e-05/0.6214, allocations: 16 kB / 0.7119 GB, free: 6.336 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002267/0.6236, allocations: 0.5578 MB / 0.7125 GB, free: 5.777 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.832e-05/0.6237, allocations: 28 kB / 0.7125 GB, free: 5.75 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001718/0.6239, allocations: 75.98 kB / 0.7126 GB, free: 5.676 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-05/0.6239, allocations: 43.8 kB / 0.7126 GB, free: 5.633 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.892e-05/0.6239, allocations: 28.16 kB / 0.7126 GB, free: 5.605 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007839/0.6318, allocations: 5.264 MB / 0.7178 GB, free: 16 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001937/0.6337, allocations: 0.6458 MB / 0.7184 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004753/0.6342, allocations: 63.98 kB / 0.7185 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00136/0.6355, allocations: 135.8 kB / 0.7186 GB, free: 15.17 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003554/0.6359, allocations: 225.3 kB / 0.7188 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001598/0.636, allocations: 95.97 kB / 0.7189 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003871/0.6399, allocations: 2.388 MB / 0.7212 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6399, allocations: 0 / 0.7212 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.004511/0.6444, allocations: 1.114 MB / 0.7223 GB, free: 11.34 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 (275): * Single equations (assignments): 275 * 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.008849/0.6533, allocations: 5.94 MB / 0.7281 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006473/0.6597, allocations: 3.47 MB / 0.7315 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-05/0.6598, allocations: 0 / 0.7315 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002679/0.6624, allocations: 1.478 MB / 0.733 GB, free: 108 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2547/0.9171, allocations: 0.5295 MB / 0.7335 GB, free: 156.9 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04688/0.964, allocations: 37.67 MB / 0.7703 GB, free: 125.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003087/0.9671, allocations: 3.112 MB / 0.7733 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003256/0.9703, allocations: 1.472 MB / 0.7747 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002063/0.9724, allocations: 1.647 MB / 0.7763 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.533e-06/0.9724, allocations: 0 / 0.7763 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1138/1.086, allocations: 76.18 MB / 0.8507 GB, free: 43.59 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.69/15.78, allocations: 7.938 kB / 0.8507 GB, free: 43.58 MB / 0.5606 GB " [Timeout remaining time 644] (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: 20.036835475359112]