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.001249/0.001249, allocations: 112.2 kB / 21.22 MB, free: 0.75 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.001437/0.001437, allocations: 206.1 kB / 24.52 MB, free: 4.156 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.488/1.488, allocations: 230.6 MB / 258.3 MB, free: 8.031 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.2323/0.2323, allocations: 46.94 MB / 361.6 MB, free: 4.293 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.002009/0.002009, allocations: 59.89 kB / 0.4969 GB, free: 7.938 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3574/0.3594, allocations: 66.04 MB / 0.5614 GB, free: 4.672 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01209/0.3715, allocations: 9.495 MB / 0.5707 GB, free: 11.13 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.007116/0.3786, allocations: 2.854 MB / 0.5735 GB, free: 8.266 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001921/0.3805, allocations: 87.56 kB / 0.5736 GB, free: 8.18 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009128/0.3896, allocations: 3.792 MB / 0.5773 GB, free: 4.379 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004621/0.3943, allocations: 1.084 MB / 0.5783 GB, free: 3.293 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002663/0.3969, allocations: 0.8061 MB / 0.5791 GB, free: 2.488 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006803/0.4037, allocations: 4.863 MB / 0.5839 GB, free: 13.61 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.012/0.4157, allocations: 7.78 MB / 0.5915 GB, free: 5.699 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003986/0.4197, allocations: 2.856 MB / 0.5942 GB, free: 2.836 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00517/0.4249, allocations: 3.154 MB / 0.5973 GB, free: 15.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001953/0.4268, allocations: 0.7656 MB / 0.5981 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002901/0.4297, allocations: 0.9412 MB / 0.599 GB, free: 13.96 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002579/0.4323, allocations: 1.605 MB / 0.6006 GB, free: 12.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006402/0.4387, allocations: 3.012 MB / 0.6035 GB, free: 9.332 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01657/0.4553, allocations: 10.48 MB / 0.6137 GB, free: 14.81 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.4553, allocations: 4 kB / 0.6137 GB, free: 14.81 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.4553, allocations: 0 / 0.6137 GB, free: 14.81 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002732/0.4556, allocations: 0 / 0.6137 GB, free: 14.81 MB / 462.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.01742/0.473, allocations: 6.343 MB / 0.6199 GB, free: 8.41 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.473, allocations: 12.03 kB / 0.6199 GB, free: 8.398 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.000181/0.4732, allocations: 158.5 kB / 0.6201 GB, free: 8.242 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001856/0.4751, allocations: 0.8924 MB / 0.621 GB, free: 7.34 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02263/0.4977, allocations: 3.934 MB / 0.6248 GB, free: 3.398 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007926/0.5056, allocations: 3.276 MB / 0.628 GB, free: 84 kB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004349/0.5061, allocations: 390.6 kB / 0.6284 GB, free: 15.7 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00195/0.508, allocations: 0.5039 MB / 0.6289 GB, free: 15.19 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02239/0.5304, allocations: 8.748 MB / 0.6374 GB, free: 6.406 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001512/0.5305, allocations: 11.94 kB / 0.6374 GB, free: 6.395 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008406/0.5314, allocations: 212 kB / 0.6376 GB, free: 6.188 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003808/0.5318, allocations: 347.2 kB / 0.638 GB, free: 5.844 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01588/0.5477, allocations: 8.062 MB / 0.6458 GB, free: 13.76 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0499/0.5975, allocations: 25.38 MB / 0.6706 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01214/0.6097, allocations: 4.773 MB / 0.6753 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002909/0.6126, allocations: 1.526 MB / 0.6768 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002154/0.6128, allocations: 78.05 kB / 0.6768 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.556e-05/0.6129, allocations: 60.55 kB / 0.6769 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=226): time 3.617e-06/0.6129, allocations: 0 / 0.6769 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of matching and sorting (n=248): time 0.01917/0.632, allocations: 9.271 MB / 0.686 GB, free: 4.156 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.551e-05/0.6321, allocations: 111.4 kB / 0.6861 GB, free: 4.031 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004822/0.6369, allocations: 3.433 MB / 0.6894 GB, free: 0.5781 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002519/0.6372, allocations: 65.7 kB / 0.6895 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001754/0.6389, allocations: 2.226 MB / 0.6917 GB, free: 14.26 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009404/0.6399, allocations: 0.8949 MB / 0.6925 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001205/0.6411, allocations: 0.7547 MB / 0.6933 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001263/0.6412, allocations: 301.1 kB / 0.6935 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003136/0.6443, allocations: 1.807 MB / 0.6953 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004545/0.6489, allocations: 3.447 MB / 0.6987 GB, free: 6.273 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008498/0.6574, allocations: 5.594 MB / 0.7041 GB, free: 15.91 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.835e-05/0.6574, allocations: 16 kB / 0.7042 GB, free: 15.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=476) (initialization): time 0.01121/0.6687, allocations: 5.487 MB / 0.7095 GB, free: 10.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 7.241e-05/0.6687, allocations: 28 kB / 0.7095 GB, free: 10.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001001/0.6688, allocations: 56 kB / 0.7096 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00026/0.6691, allocations: 80.03 kB / 0.7097 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0047/0.6738, allocations: 1.057 MB / 0.7107 GB, free: 9.176 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001314/0.6739, allocations: 115.6 kB / 0.7108 GB, free: 9.062 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003498/0.6774, allocations: 267.7 kB / 0.7111 GB, free: 8.801 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007186/0.6781, allocations: 204 kB / 0.7113 GB, free: 8.602 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.004318/0.6825, allocations: 2.12 MB / 0.7133 GB, free: 6.469 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006222/0.6831, allocations: 286.1 kB / 0.7136 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007867/0.6909, allocations: 3.788 MB / 0.7173 GB, free: 2.375 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-05/0.691, allocations: 28 kB / 0.7173 GB, free: 2.348 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/0.691, allocations: 0 / 0.7173 GB, free: 2.348 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.448e-05/0.691, allocations: 11.95 kB / 0.7173 GB, free: 2.336 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0185/0.7095, allocations: 9.567 MB / 0.7267 GB, free: 8.484 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.47e-05/0.7096, allocations: 19.94 kB / 0.7267 GB, free: 8.465 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002995/0.7126, allocations: 0.6982 MB / 0.7274 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.434e-05/0.7126, allocations: 28 kB / 0.7274 GB, free: 7.734 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002028/0.7128, allocations: 91.95 kB / 0.7275 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-05/0.7128, allocations: 35.97 kB / 0.7275 GB, free: 7.609 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.137e-05/0.7128, allocations: 27.86 kB / 0.7276 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01033/0.7232, allocations: 6.242 MB / 0.7337 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001811/0.725, allocations: 0.6696 MB / 0.7343 GB, free: 296 kB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004527/0.7254, allocations: 75.98 kB / 0.7344 GB, free: 220 kB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001702/0.7271, allocations: 171.9 kB / 0.7346 GB, free: 48 kB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2501/0.9773, allocations: 243.2 kB / 0.7348 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002966/0.9776, allocations: 106.7 kB / 0.7349 GB, free: 150.2 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004262/0.9818, allocations: 2.395 MB / 0.7372 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9818, allocations: 3.75 kB / 0.7372 GB, free: 149.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00358/0.9854, allocations: 0.8818 MB / 0.7381 GB, free: 149.8 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.008156/0.9936, allocations: 6.916 MB / 0.7448 GB, free: 146.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005636/0.9992, allocations: 4.01 MB / 0.7488 GB, free: 145 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.09e-05/0.9992, allocations: 7.812 kB / 0.7488 GB, free: 145 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002612/1.002, allocations: 1.763 MB / 0.7505 GB, free: 144.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002921/1.005, allocations: 0.545 MB / 0.751 GB, free: 144.2 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04567/1.05, allocations: 39.78 MB / 0.7899 GB, free: 105.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002645/1.053, allocations: 3.695 MB / 0.7935 GB, free: 101.7 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002985/1.056, allocations: 1.583 MB / 0.795 GB, free: 100.1 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002055/1.058, allocations: 1.706 MB / 0.7967 GB, free: 98.42 MB / 0.5606 GB Notification: Performance of SimCode: time 1.243e-06/1.058, allocations: 0 / 0.7967 GB, free: 98.42 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1046/1.163, allocations: 81.84 MB / 0.8766 GB, free: 16.84 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.47/18.64, allocations: 12 kB / 0.8766 GB, free: 16.83 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.26006309100194]