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.001258/0.001258, allocations: 115.6 kB / 20.43 MB, free: 1.457 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.001492/0.001492, allocations: 213.6 kB / 23.75 MB, free: 4.668 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.508/1.508, allocations: 230.6 MB / 257.5 MB, free: 8.012 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.2338/0.2338, allocations: 46.93 MB / 360.9 MB, free: 4.27 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.001944/0.001944, allocations: 67.89 kB / 0.4962 GB, free: 7.898 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3352, allocations: 66.02 MB / 0.5606 GB, free: 4.355 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.01132/0.3465, allocations: 9.502 MB / 0.5699 GB, free: 10.81 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005959/0.3525, allocations: 2.854 MB / 0.5727 GB, free: 7.945 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001335/0.3538, allocations: 87.56 kB / 0.5728 GB, free: 7.859 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.008432/0.3622, allocations: 3.787 MB / 0.5765 GB, free: 4.062 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004179/0.3664, allocations: 1.092 MB / 0.5776 GB, free: 2.969 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00277/0.3692, allocations: 0.7979 MB / 0.5783 GB, free: 2.172 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.007223/0.3764, allocations: 4.879 MB / 0.5831 GB, free: 13.28 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01153/0.3879, allocations: 7.772 MB / 0.5907 GB, free: 5.379 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005099/0.393, allocations: 2.852 MB / 0.5935 GB, free: 2.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005816/0.3989, allocations: 3.154 MB / 0.5965 GB, free: 15.36 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001935/0.4008, allocations: 0.7656 MB / 0.5973 GB, free: 14.59 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002546/0.4033, allocations: 0.9373 MB / 0.5982 GB, free: 13.65 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001859/0.4052, allocations: 1.605 MB / 0.5998 GB, free: 12.04 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004035/0.4092, allocations: 3.012 MB / 0.6027 GB, free: 9.02 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01135/0.4206, allocations: 10.49 MB / 0.613 GB, free: 14.5 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.084e-06/0.4206, allocations: 4 kB / 0.613 GB, free: 14.49 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.4206, allocations: 0 / 0.613 GB, free: 14.49 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0002744/0.4209, allocations: 0 / 0.613 GB, free: 14.49 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.01934/0.4402, allocations: 6.343 MB / 0.6192 GB, free: 8.094 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.273e-05/0.4403, allocations: 12.02 kB / 0.6192 GB, free: 8.082 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003041/0.4433, allocations: 0.8844 MB / 0.62 GB, free: 7.188 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02291/0.4662, allocations: 3.93 MB / 0.6239 GB, free: 3.25 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008342/0.4746, allocations: 3.276 MB / 0.6271 GB, free: 15.93 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004063/0.475, allocations: 390.5 kB / 0.6274 GB, free: 15.55 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00194/0.4769, allocations: 0.4999 MB / 0.6279 GB, free: 15.05 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01945/0.4964, allocations: 8.724 MB / 0.6365 GB, free: 6.285 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001121/0.4965, allocations: 4 kB / 0.6365 GB, free: 6.281 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006283/0.4971, allocations: 216 kB / 0.6367 GB, free: 6.07 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000376/0.4975, allocations: 339.2 kB / 0.637 GB, free: 5.734 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01651/0.514, allocations: 8.054 MB / 0.6449 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05124/0.5652, allocations: 25.31 MB / 0.6696 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01178/0.577, allocations: 4.621 MB / 0.6741 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00303/0.58, allocations: 1.475 MB / 0.6755 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002488/0.5803, allocations: 73.89 kB / 0.6756 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.111e-05/0.5804, allocations: 72.48 kB / 0.6757 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=214): time 5.33e-06/0.5804, allocations: 0 / 0.6757 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=214): time 0.006774/0.5871, allocations: 3.519 MB / 0.6791 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.574e-05/0.5872, allocations: 99.11 kB / 0.6792 GB, free: 10 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006218/0.5934, allocations: 3.433 MB / 0.6825 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0002855/0.5937, allocations: 61.7 kB / 0.6826 GB, free: 6.484 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.001978/0.5957, allocations: 2.241 MB / 0.6848 GB, free: 4.223 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009875/0.5967, allocations: 0.7748 MB / 0.6856 GB, free: 3.441 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001327/0.598, allocations: 0.7069 MB / 0.6862 GB, free: 2.727 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.5982, allocations: 309.1 kB / 0.6865 GB, free: 2.422 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002752/0.6009, allocations: 1.568 MB / 0.6881 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004163/0.6051, allocations: 3.191 MB / 0.6912 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007249/0.6123, allocations: 5.075 MB / 0.6961 GB, free: 7.035 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.626e-05/0.6124, allocations: 16 kB / 0.6962 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.008608/0.621, allocations: 4.952 MB / 0.701 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.849e-05/0.621, allocations: 28 kB / 0.701 GB, free: 2.031 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-05/0.6211, allocations: 56.84 kB / 0.7011 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.654e-05/0.6212, allocations: 79.98 kB / 0.7011 GB, free: 1.898 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003099/0.6243, allocations: 0.9203 MB / 0.702 GB, free: 0.9766 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001002/0.6244, allocations: 111.6 kB / 0.7022 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002477/0.6269, allocations: 0.5818 MB / 0.7027 GB, free: 292 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002848/0.6271, allocations: 192 kB / 0.7029 GB, free: 100 kB / 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.003153/0.6303, allocations: 2.081 MB / 0.7049 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000455/0.6307, allocations: 274.2 kB / 0.7052 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005553/0.6363, allocations: 3.179 MB / 0.7083 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-05/0.6363, allocations: 24 kB / 0.7083 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.767e-06/0.6363, allocations: 3.938 kB / 0.7083 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.51e-05/0.6364, allocations: 11.95 kB / 0.7083 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01504/0.6514, allocations: 8.661 MB / 0.7168 GB, free: 1.547 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.467e-05/0.6514, allocations: 16 kB / 0.7168 GB, free: 1.531 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002172/0.6536, allocations: 0.5617 MB / 0.7174 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.297e-05/0.6536, allocations: 28 kB / 0.7174 GB, free: 0.9414 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001667/0.6538, allocations: 71.98 kB / 0.7175 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.798e-05/0.6539, allocations: 43.8 kB / 0.7175 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.153e-05/0.6539, allocations: 23.88 kB / 0.7175 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008438/0.6623, allocations: 5.268 MB / 0.7227 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001898/0.6642, allocations: 0.6496 MB / 0.7233 GB, free: 10.56 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007156/0.6649, allocations: 67.98 kB / 0.7234 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001518/0.6665, allocations: 123.8 kB / 0.7235 GB, free: 10.37 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003667/0.6668, allocations: 229.3 kB / 0.7237 GB, free: 10.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001723/0.667, allocations: 99.97 kB / 0.7238 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004067/0.6711, allocations: 2.388 MB / 0.7261 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6711, allocations: 3.938 kB / 0.7261 GB, free: 7.641 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003869/0.6749, allocations: 1.114 MB / 0.7272 GB, free: 6.523 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.00871/0.6836, allocations: 5.936 MB / 0.733 GB, free: 248 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2812/0.9649, allocations: 3.467 MB / 0.7364 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.828e-05/0.9649, allocations: 10.44 kB / 0.7364 GB, free: 156.1 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002279/0.9672, allocations: 1.472 MB / 0.7379 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003131/0.9703, allocations: 0.5315 MB / 0.7384 GB, free: 155.4 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04394/1.014, allocations: 37.66 MB / 0.7752 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003826/1.018, allocations: 3.644 MB / 0.7787 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003288/1.021, allocations: 1.472 MB / 0.7802 GB, free: 116.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002487/1.024, allocations: 1.647 MB / 0.7818 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.663e-06/1.024, allocations: 0 / 0.7818 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1145/1.138, allocations: 78.21 MB / 0.8581 GB, free: 36.78 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.98/18.12, allocations: 6.859 kB / 0.8581 GB, free: 36.78 MB / 0.5606 GB " [Timeout remaining time 642] (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 & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 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.csv","/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] "Error: Could not read variable Time in file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.csv. Warning: Get data of variable Time from file ModelicaTest_4.1.0_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.381726417996106]