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.001724/0.001724, allocations: 107.1 kB / 20.44 MB, free: 1.344 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.0015/0.0015, allocations: 211 kB / 23.73 MB, free: 4.523 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.464/1.464, 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.2482/0.2482, allocations: 46.95 MB / 360.9 MB, free: 4.066 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.001936/0.001936, allocations: 59.91 kB / 0.4961 GB, free: 7.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3168/0.3187, allocations: 66.04 MB / 0.5606 GB, free: 4.277 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01079/0.3295, allocations: 8.243 MB / 0.5686 GB, free: 11.99 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006039/0.3356, allocations: 2.722 MB / 0.5713 GB, free: 9.262 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001257/0.3368, allocations: 87.56 kB / 0.5714 GB, free: 9.176 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008203/0.345, allocations: 3.488 MB / 0.5748 GB, free: 5.68 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003484/0.3485, allocations: 1.084 MB / 0.5758 GB, free: 4.594 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001882/0.3504, allocations: 0.7717 MB / 0.5766 GB, free: 3.828 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.005383/0.3558, allocations: 4.871 MB / 0.5813 GB, free: 14.94 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01016/0.3659, allocations: 7.768 MB / 0.5889 GB, free: 7.043 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003748/0.3697, allocations: 2.849 MB / 0.5917 GB, free: 4.188 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004715/0.3744, allocations: 3.165 MB / 0.5948 GB, free: 1.012 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001236/0.3756, allocations: 0.7656 MB / 0.5956 GB, free: 252 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001821/0.3775, allocations: 0.9295 MB / 0.5965 GB, free: 15.32 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001549/0.379, allocations: 1.602 MB / 0.598 GB, free: 13.71 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003049/0.382, allocations: 2.346 MB / 0.6003 GB, free: 11.36 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01095/0.393, allocations: 10.53 MB / 0.6106 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.393, allocations: 4 kB / 0.6106 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.393, allocations: 0 / 0.6106 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0002421/0.3932, allocations: 3.938 kB / 0.6106 GB, free: 0.7812 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.01653/0.4098, allocations: 6.348 MB / 0.6168 GB, free: 10.37 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/0.4098, allocations: 8.031 kB / 0.6168 GB, free: 10.36 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002025/0.4118, allocations: 0.8883 MB / 0.6177 GB, free: 9.465 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02176/0.4336, allocations: 3.926 MB / 0.6215 GB, free: 5.531 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007958/0.4416, allocations: 3.264 MB / 0.6247 GB, free: 2.227 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004761/0.442, allocations: 394.4 kB / 0.6251 GB, free: 1.84 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001768/0.4438, allocations: 0.4999 MB / 0.6256 GB, free: 1.34 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01839/0.4622, allocations: 8.732 MB / 0.6341 GB, free: 8.566 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001214/0.4623, allocations: 4 kB / 0.6341 GB, free: 8.562 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006184/0.4629, allocations: 212 kB / 0.6343 GB, free: 8.355 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003859/0.4633, allocations: 339.2 kB / 0.6346 GB, free: 8.02 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01524/0.4786, allocations: 8.019 MB / 0.6425 GB, free: 15.97 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04212/0.5207, allocations: 23.3 MB / 0.6652 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01082/0.5315, allocations: 4.555 MB / 0.6697 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002479/0.534, allocations: 1.483 MB / 0.6711 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001858/0.5342, allocations: 61.95 kB / 0.6712 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.246e-05/0.5342, allocations: 60.48 kB / 0.6712 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=214): time 4.438e-06/0.5342, allocations: 0 / 0.6712 GB, free: 2.059 MB / 0.4981 GB Notification: Performance of matching and sorting (n=214): time 0.005826/0.54, allocations: 3.519 MB / 0.6747 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.225e-05/0.5401, allocations: 111 kB / 0.6748 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004787/0.5449, allocations: 3.515 MB / 0.6782 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001761/0.5451, allocations: 57.7 kB / 0.6783 GB, free: 10.81 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001725/0.5468, allocations: 2.238 MB / 0.6804 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007582/0.5476, allocations: 0.7748 MB / 0.6812 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001052/0.5486, allocations: 0.707 MB / 0.6819 GB, free: 7.059 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.5487, allocations: 305.1 kB / 0.6822 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002433/0.5512, allocations: 1.568 MB / 0.6837 GB, free: 5.188 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004154/0.5553, allocations: 3.195 MB / 0.6868 GB, free: 1.223 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006707/0.562, allocations: 5.079 MB / 0.6918 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.124e-05/0.5621, allocations: 16 kB / 0.6918 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008337/0.5704, allocations: 4.957 MB / 0.6966 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.928e-05/0.5705, allocations: 28 kB / 0.6967 GB, free: 6.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.795e-05/0.5705, allocations: 56 kB / 0.6967 GB, free: 6.301 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.703e-05/0.5706, allocations: 80 kB / 0.6968 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003208/0.5738, allocations: 0.9164 MB / 0.6977 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001022/0.5739, allocations: 115.8 kB / 0.6978 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002693/0.5766, allocations: 0.5741 MB / 0.6984 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000295/0.5769, allocations: 196 kB / 0.6986 GB, free: 4.422 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.003176/0.5801, allocations: 2.077 MB / 0.7006 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005292/0.5806, allocations: 270.2 kB / 0.7008 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005446/0.586, allocations: 3.179 MB / 0.7039 GB, free: 14.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.373e-05/0.5861, allocations: 24 kB / 0.704 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.5861, allocations: 0 / 0.704 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.267e-05/0.5861, allocations: 15.95 kB / 0.704 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01366/0.5998, allocations: 8.26 MB / 0.7121 GB, free: 6.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.457e-05/0.5998, allocations: 19.94 kB / 0.7121 GB, free: 6.262 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002184/0.602, allocations: 0.5618 MB / 0.7126 GB, free: 5.699 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.465e-05/0.602, allocations: 31.98 kB / 0.7127 GB, free: 5.668 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001545/0.6022, allocations: 75.98 kB / 0.7127 GB, free: 5.594 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-05/0.6022, allocations: 43.8 kB / 0.7128 GB, free: 5.551 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.805e-05/0.6022, allocations: 23.94 kB / 0.7128 GB, free: 5.527 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007995/0.6102, allocations: 5.272 MB / 0.7179 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001821/0.612, allocations: 0.6496 MB / 0.7186 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004064/0.6124, allocations: 64 kB / 0.7186 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001301/0.6137, allocations: 127.8 kB / 0.7188 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003429/0.6141, allocations: 229.2 kB / 0.719 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/0.6142, allocations: 99.97 kB / 0.7191 GB, free: 14.76 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.003542/0.6178, allocations: 2.388 MB / 0.7214 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.6178, allocations: 4.062 kB / 0.7214 GB, free: 12.36 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003552/0.6213, allocations: 1.11 MB / 0.7225 GB, free: 11.25 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.007983/0.6293, allocations: 5.936 MB / 0.7283 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006057/0.6354, allocations: 3.473 MB / 0.7317 GB, free: 1.492 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.862e-05/0.6354, allocations: 3.938 kB / 0.7317 GB, free: 1.488 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002541/0.6379, allocations: 1.476 MB / 0.7331 GB, free: 16 kB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.2849/0.9229, allocations: 0.5348 MB / 0.7336 GB, free: 157.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04519/0.968, allocations: 37.67 MB / 0.7704 GB, free: 125.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003094/0.9711, allocations: 3.104 MB / 0.7735 GB, free: 122.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003034/0.9742, allocations: 1.473 MB / 0.7749 GB, free: 120.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002275/0.9764, allocations: 1.647 MB / 0.7765 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of SimCode: time 1.744e-06/0.9764, allocations: 0 / 0.7765 GB, free: 119.3 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1153/1.092, allocations: 78.11 MB / 0.8528 GB, free: 41.66 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.99/15.09, allocations: 64 / 0.8528 GB, free: 41.66 MB / 0.5606 GB " [Timeout remaining time 645] (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: 19.207391792006092]