Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001407/0.001407, allocations: 110 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001509/0.001509, allocations: 213.1 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.465/1.465, allocations: 230.5 MB / 257.4 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2376/0.2376, allocations: 46.93 MB / 360.8 MB, free: 4.164 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002326/0.002326, allocations: 71.88 kB / 0.4962 GB, free: 7.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3665, allocations: 66.09 MB / 0.5607 GB, free: 4.281 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep): time 0.0119/0.3784, allocations: 9.491 MB / 0.57 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.006583/0.385, allocations: 2.846 MB / 0.5728 GB, free: 7.895 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001679/0.3867, allocations: 87.56 kB / 0.5729 GB, free: 7.809 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.009138/0.3958, allocations: 3.79 MB / 0.5766 GB, free: 4.012 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004659/0.4005, allocations: 1.1 MB / 0.5776 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002499/0.403, allocations: 0.7943 MB / 0.5784 GB, free: 2.117 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00694/0.4099, allocations: 4.864 MB / 0.5832 GB, free: 13.23 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01201/0.4219, allocations: 7.787 MB / 0.5908 GB, free: 5.32 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005999/0.4279, allocations: 2.849 MB / 0.5935 GB, free: 2.465 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005857/0.4338, allocations: 3.158 MB / 0.5966 GB, free: 15.3 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002434/0.4362, allocations: 0.7656 MB / 0.5974 GB, free: 14.53 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003329/0.4396, allocations: 0.9373 MB / 0.5983 GB, free: 13.59 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002783/0.4423, allocations: 1.602 MB / 0.5999 GB, free: 11.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005684/0.448, allocations: 3.016 MB / 0.6028 GB, free: 8.961 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0159/0.4639, allocations: 10.48 MB / 0.613 GB, free: 14.44 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.4639, allocations: 0 / 0.613 GB, free: 14.44 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.4639, allocations: 0 / 0.613 GB, free: 14.44 MB / 462.1 MB Notification: Performance of Transformations before backend: time 0.0003132/0.4643, allocations: 0 / 0.613 GB, free: 14.44 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.0208/0.485, allocations: 6.347 MB / 0.6192 GB, free: 8.039 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.64e-05/0.4851, allocations: 8.031 kB / 0.6192 GB, free: 8.031 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003143/0.4882, allocations: 0.8883 MB / 0.6201 GB, free: 7.133 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0232/0.5114, allocations: 3.934 MB / 0.624 GB, free: 3.191 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009411/0.5209, allocations: 3.268 MB / 0.6271 GB, free: 15.88 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005504/0.5214, allocations: 386.5 kB / 0.6275 GB, free: 15.5 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00263/0.524, allocations: 0.5038 MB / 0.628 GB, free: 15 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02429/0.5483, allocations: 8.724 MB / 0.6365 GB, free: 6.234 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002286/0.5486, allocations: 11.92 kB / 0.6365 GB, free: 6.223 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001829/0.5504, allocations: 216 kB / 0.6367 GB, free: 6.012 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00048/0.5509, allocations: 339.2 kB / 0.6371 GB, free: 5.676 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02107/0.5719, allocations: 8.047 MB / 0.6449 GB, free: 13.61 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05819/0.6301, allocations: 25.31 MB / 0.6696 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01223/0.6424, allocations: 4.62 MB / 0.6742 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003281/0.6456, allocations: 1.479 MB / 0.6756 GB, free: 13.74 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002927/0.6459, allocations: 77.88 kB / 0.6757 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.902e-05/0.646, allocations: 60.56 kB / 0.6757 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=214): time 4.048e-06/0.646, allocations: 0 / 0.6757 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of matching and sorting (n=214): time 0.007497/0.6535, allocations: 3.523 MB / 0.6792 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001037/0.6536, allocations: 107 kB / 0.6793 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007522/0.6611, allocations: 3.43 MB / 0.6826 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0004688/0.6616, allocations: 61.7 kB / 0.6827 GB, free: 6.43 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.002772/0.6644, allocations: 2.234 MB / 0.6849 GB, free: 4.176 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.001253/0.6656, allocations: 0.7748 MB / 0.6856 GB, free: 3.395 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002047/0.6677, allocations: 0.7069 MB / 0.6863 GB, free: 2.68 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001854/0.6679, allocations: 305.1 kB / 0.6866 GB, free: 2.379 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003167/0.671, allocations: 1.568 MB / 0.6881 GB, free: 0.8086 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005014/0.676, allocations: 3.199 MB / 0.6913 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008262/0.6843, allocations: 5.079 MB / 0.6962 GB, free: 6.984 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.922e-05/0.6844, allocations: 16 kB / 0.6962 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of matching and sorting (n=442) (initialization): time 0.01188/0.6963, allocations: 4.956 MB / 0.7011 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.673e-05/0.6963, allocations: 30.84 kB / 0.7011 GB, free: 1.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001043/0.6964, allocations: 56 kB / 0.7012 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001165/0.6966, allocations: 80 kB / 0.7012 GB, free: 1.844 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003669/0.7002, allocations: 0.9126 MB / 0.7021 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001611/0.7004, allocations: 111.6 kB / 0.7022 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003582/0.704, allocations: 0.578 MB / 0.7028 GB, free: 244 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006332/0.7046, allocations: 192 kB / 0.703 GB, free: 52 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.004616/0.7092, allocations: 2.082 MB / 0.705 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000894/0.7101, allocations: 278.2 kB / 0.7053 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006836/0.717, allocations: 3.179 MB / 0.7084 GB, free: 10.48 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.82e-05/0.717, allocations: 20 kB / 0.7084 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-05/0.717, allocations: 0 / 0.7084 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-05/0.717, allocations: 15.95 kB / 0.7084 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01942/0.7365, allocations: 8.661 MB / 0.7169 GB, free: 1.5 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-05/0.7365, allocations: 16 kB / 0.7169 GB, free: 1.484 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002364/0.7389, allocations: 0.5617 MB / 0.7174 GB, free: 0.9219 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.772e-05/0.7389, allocations: 28 kB / 0.7175 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002876/0.7392, allocations: 79.92 kB / 0.7175 GB, free: 0.8164 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.024e-05/0.7393, allocations: 39.86 kB / 0.7176 GB, free: 0.7773 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.14e-05/0.7393, allocations: 23.88 kB / 0.7176 GB, free: 0.7539 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00892/0.7482, allocations: 5.268 MB / 0.7227 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002098/0.7503, allocations: 0.6535 MB / 0.7234 GB, free: 10.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007626/0.7511, allocations: 67.98 kB / 0.7235 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00178/0.7529, allocations: 127.8 kB / 0.7236 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004684/0.7533, allocations: 229.3 kB / 0.7238 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002124/0.7535, allocations: 95.92 kB / 0.7239 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.00556/0.7591, allocations: 2.384 MB / 0.7262 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.5e-07/0.7591, allocations: 4 kB / 0.7262 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.005674/0.7648, allocations: 1.114 MB / 0.7273 GB, free: 6.473 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.01171/0.7765, allocations: 5.936 MB / 0.7331 GB, free: 196 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.2991/1.076, allocations: 3.468 MB / 0.7365 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.942e-05/1.076, allocations: 3.625 kB / 0.7365 GB, free: 156.3 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002253/1.078, allocations: 1.477 MB / 0.7379 GB, free: 155.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002963/1.081, allocations: 0.5259 MB / 0.7384 GB, free: 155.6 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04673/1.128, allocations: 37.67 MB / 0.7752 GB, free: 121.6 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002735/1.13, allocations: 3.64 MB / 0.7788 GB, free: 117.9 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002812/1.133, allocations: 1.472 MB / 0.7802 GB, free: 116.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002093/1.135, allocations: 1.647 MB / 0.7818 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of SimCode: time 1.853e-06/1.135, allocations: 0 / 0.7818 GB, free: 114.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.119/1.254, allocations: 78.21 MB / 0.8582 GB, free: 36.79 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.2/18.45, allocations: 3.5 kB / 0.8582 GB, free: 36.79 MB / 0.5606 GB " [Timeout remaining time 641] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Electrical_QuasiStatic_Polyphase_FrequencySweep.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Electrical.QuasiStatic.Polyphase.FrequencySweep_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 21.66684651900141]