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.0008899/0.0008899, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008919/0.0008919, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8929/0.8929, allocations: 177.1 MB / 204.3 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.2398/0.2398, allocations: 34.25 MB / 294.9 MB, free: 0.7188 MB / 266.7 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 1.583e-06/1.583e-06, allocations: 0 / 442.2 MB, free: 1.68 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.013e-05, allocations: 16.27 kB / 442.2 MB, free: 1.664 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.184/0.184, allocations: 8.239 MB / 450.4 MB, free: 39.75 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00397/0.188, allocations: 2.723 MB / 453.1 MB, free: 37.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007687/0.1888, allocations: 85.72 kB / 453.2 MB, free: 37.94 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003092/0.1919, allocations: 3.708 MB / 456.9 MB, free: 35.84 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.1939, allocations: 1.093 MB / 458 MB, free: 35.18 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009452/0.1949, allocations: 0.7685 MB / 458.8 MB, free: 34.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002754/0.1976, allocations: 5.044 MB / 463.8 MB, free: 32.07 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006739/0.2044, allocations: 7.715 MB / 471.6 MB, free: 27.76 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005086/0.2095, allocations: 4.2 MB / 475.8 MB, free: 25.67 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003435/0.2129, allocations: 2.77 MB / 478.5 MB, free: 24.5 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001679/0.2146, allocations: 0.7654 MB / 479.3 MB, free: 24.5 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002042/0.2166, allocations: 0.928 MB / 480.2 MB, free: 24.45 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001127/0.2177, allocations: 1.635 MB / 481.8 MB, free: 23.33 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003367/0.2211, allocations: 2.014 MB / 483.9 MB, free: 22.26 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009685/0.2308, allocations: 10.59 MB / 494.4 MB, free: 18.7 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.2308, allocations: 2.25 kB / 494.4 MB, free: 18.7 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.2308, allocations: 0 / 494.4 MB, free: 18.7 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003086/0.2311, allocations: 0 / 494.4 MB, free: 18.7 MB / 410.7 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.01718/0.2483, allocations: 6.292 MB / 0.489 GB, free: 15.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.2483, allocations: 10.16 kB / 0.489 GB, free: 15.58 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003247/0.2516, allocations: 0.886 MB / 0.4899 GB, free: 15.15 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01182/0.2634, allocations: 3.908 MB / 0.4937 GB, free: 13.67 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006295/0.2697, allocations: 3.259 MB / 0.4969 GB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003323/0.27, allocations: 393 kB / 0.4973 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002023/0.2721, allocations: 0.5102 MB / 0.4978 GB, free: 11.2 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01442/0.2865, allocations: 8.726 MB / 0.5063 GB, free: 4.551 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.742e-05/0.2866, allocations: 3.984 kB / 0.5063 GB, free: 4.547 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004028/0.287, allocations: 216 kB / 0.5065 GB, free: 4.336 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001918/0.2872, allocations: 339.2 kB / 0.5068 GB, free: 4 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009984/0.2971, allocations: 8.015 MB / 0.5146 GB, free: 11.96 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02887/0.326, allocations: 23.31 MB / 0.5374 GB, free: 4.117 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006513/0.3325, allocations: 4.559 MB / 0.5419 GB, free: 15.66 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001597/0.3341, allocations: 1.487 MB / 0.5433 GB, free: 14.18 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001172/0.3342, allocations: 65.94 kB / 0.5434 GB, free: 14.11 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.3343, allocations: 60.5 kB / 0.5434 GB, free: 14.04 MB / 458.7 MB Notification: Performance of pre-optimization done (n=214): time 3.707e-06/0.3343, allocations: 0 / 0.5434 GB, free: 14.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=214): time 0.003642/0.3379, allocations: 3.527 MB / 0.5469 GB, free: 10.52 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.778e-05/0.338, allocations: 103 kB / 0.547 GB, free: 10.39 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00336/0.3413, allocations: 3.511 MB / 0.5504 GB, free: 6.863 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 9.275e-05/0.3414, allocations: 53.7 kB / 0.5504 GB, free: 6.805 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009681/0.3424, allocations: 2.234 MB / 0.5526 GB, free: 4.551 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004397/0.3428, allocations: 0.767 MB / 0.5534 GB, free: 3.777 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006537/0.3435, allocations: 0.703 MB / 0.5541 GB, free: 3.066 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.384e-05/0.3435, allocations: 301.1 kB / 0.5544 GB, free: 2.77 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001605/0.3452, allocations: 1.572 MB / 0.5559 GB, free: 1.195 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00213/0.3473, allocations: 3.187 MB / 0.559 GB, free: 13.23 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004048/0.3513, allocations: 5.079 MB / 0.564 GB, free: 7.371 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.357e-05/0.3514, allocations: 19.94 kB / 0.564 GB, free: 7.352 MB / 474.7 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005263/0.3566, allocations: 4.956 MB / 0.5688 GB, free: 2.387 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.046e-05/0.3567, allocations: 32 kB / 0.5689 GB, free: 2.355 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.171e-05/0.3567, allocations: 52 kB / 0.5689 GB, free: 2.305 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.809e-05/0.3568, allocations: 80 kB / 0.569 GB, free: 2.227 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/0.3584, allocations: 0.9179 MB / 0.5699 GB, free: 1.309 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-05/0.3585, allocations: 115.6 kB / 0.57 GB, free: 1.195 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/0.3605, allocations: 0.5741 MB / 0.5705 GB, free: 0.6172 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001676/0.3606, allocations: 192 kB / 0.5707 GB, free: 440 kB / 474.7 MB 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.00269/0.3633, allocations: 2.076 MB / 0.5728 GB, free: 14.34 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003497/0.3637, allocations: 274.2 kB / 0.573 GB, free: 14.07 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003647/0.3673, allocations: 3.183 MB / 0.5761 GB, free: 10.87 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.3673, allocations: 20 kB / 0.5761 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.256e-06/0.3674, allocations: 4 kB / 0.5761 GB, free: 10.85 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.639e-05/0.3674, allocations: 15.95 kB / 0.5762 GB, free: 10.83 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009169/0.3765, allocations: 8.262 MB / 0.5842 GB, free: 2.293 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/0.3766, allocations: 20.25 kB / 0.5843 GB, free: 2.273 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/0.3776, allocations: 0.5694 MB / 0.5848 GB, free: 1.703 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.679e-05/0.3777, allocations: 25.78 kB / 0.5848 GB, free: 1.68 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.158e-05/0.3777, allocations: 75.98 kB / 0.5849 GB, free: 1.605 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.682e-05/0.3778, allocations: 39.86 kB / 0.5849 GB, free: 1.566 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/0.3778, allocations: 23.94 kB / 0.585 GB, free: 1.543 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005043/0.3828, allocations: 5.249 MB / 0.5901 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001213/0.384, allocations: 0.6457 MB / 0.5907 GB, free: 11.31 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002728/0.3843, allocations: 75.98 kB / 0.5908 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007352/0.3851, allocations: 119.9 kB / 0.5909 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002229/0.3853, allocations: 229.2 kB / 0.5911 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-05/0.3854, allocations: 99.97 kB / 0.5912 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.002567/0.3879, allocations: 2.392 MB / 0.5936 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3879, allocations: 0 / 0.5936 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002977/0.3909, allocations: 1.11 MB / 0.5946 GB, free: 7.285 MB / 0.4948 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.005176/0.3961, allocations: 5.901 MB / 0.6004 GB, free: 1.043 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.004552/0.4006, allocations: 3.474 MB / 0.6038 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.898e-05/0.4007, allocations: 4 kB / 0.6038 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001603/0.4023, allocations: 1.479 MB / 0.6052 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002134/0.4044, allocations: 0.541 MB / 0.6058 GB, free: 11.56 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2107/0.6151, allocations: 37.68 MB / 0.6426 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002579/0.6177, allocations: 3.109 MB / 0.6456 GB, free: 147.5 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.002569/0.6203, allocations: 1.475 MB / 0.6471 GB, free: 147.4 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001545/0.6218, allocations: 1.648 MB / 0.6487 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of SimCode: time 2.204e-06/0.6218, allocations: 0 / 0.6487 GB, free: 146.1 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09578/0.7176, allocations: 76.09 MB / 0.723 GB, free: 98.91 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.36/10.08, allocations: 4.062 kB / 0.723 GB, free: 98.91 MB / 0.5261 GB " [Timeout remaining time 650] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/QuasiStatic/Polyphase/FrequencySweep/FrequencySweep.csv","/var/lib/jenkins/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: 12.270679434761405]