Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.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.001923/0.001923, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.002503/0.002503, allocations: 213.2 kB / 23.73 MB, free: 4.164 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.499/1.499, allocations: 230.5 MB / 257.4 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 59.91 kB / 377.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2326, allocations: 53.42 MB / 431.2 MB, free: 6.449 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench): time 0.02963/0.2623, allocations: 24.49 MB / 455.6 MB, free: 13.84 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01442/0.2767, allocations: 7.027 MB / 462.7 MB, free: 6.797 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004233/0.2809, allocations: 314.4 kB / 463 MB, free: 6.488 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02959/0.3105, allocations: 12.21 MB / 475.2 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009726/0.3202, allocations: 2.601 MB / 477.8 MB, free: 7.641 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00682/0.3271, allocations: 2.029 MB / 479.8 MB, free: 5.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.02378/0.3508, allocations: 18.55 MB / 498.4 MB, free: 3.02 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.05616/0.407, allocations: 28.1 MB / 0.5141 GB, free: 6.691 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01546/0.4225, allocations: 10.16 MB / 0.5241 GB, free: 12.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01833/0.4408, allocations: 10.83 MB / 0.5346 GB, free: 1.648 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.3734/0.8142, allocations: 2.921 MB / 0.5375 GB, free: 40.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007929/0.8221, allocations: 3.184 MB / 0.5406 GB, free: 40.07 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.006468/0.8286, allocations: 5.492 MB / 0.546 GB, free: 40.07 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01242/0.841, allocations: 8.372 MB / 0.5541 GB, free: 39.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03061/0.8716, allocations: 39.26 MB / 0.5925 GB, free: 20.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.8716, allocations: 0 / 0.5925 GB, free: 20.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.8716, allocations: 0.8125 kB / 0.5925 GB, free: 20.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008255/0.8724, allocations: 0 / 0.5925 GB, free: 20.2 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: 4885 * Number of variables: 4885 Notification: Performance of Generate backend data structure: time 0.05395/0.9264, allocations: 22.24 MB / 0.6142 GB, free: 2.777 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.126e-05/0.9264, allocations: 19.97 kB / 0.6142 GB, free: 2.758 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009615/0.936, allocations: 2.957 MB / 0.6171 GB, free: 15.8 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0474/0.9834, allocations: 8.246 MB / 0.6252 GB, free: 7.621 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02873/1.012, allocations: 11.89 MB / 0.6368 GB, free: 12.13 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00173/1.014, allocations: 1.339 MB / 0.6381 GB, free: 10.8 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006681/1.021, allocations: 1.762 MB / 0.6398 GB, free: 9.047 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07276/1.093, allocations: 29.02 MB / 0.6681 GB, free: 11.92 MB / 0.4982 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006843/1.094, allocations: 19.91 kB / 0.6682 GB, free: 11.9 MB / 0.4982 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005032/1.099, allocations: 0.7311 MB / 0.6689 GB, free: 11.18 MB / 0.4982 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009888/1.1, allocations: 0.8415 MB / 0.6697 GB, free: 10.34 MB / 0.4982 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05789/1.158, allocations: 24.77 MB / 0.6939 GB, free: 1.551 MB / 0.5138 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3583/1.516, allocations: 78.87 MB / 0.7709 GB, free: 138.8 MB / 0.5607 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01852/1.535, allocations: 12.78 MB / 0.7834 GB, free: 138.4 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007036/1.542, allocations: 5.037 MB / 0.7883 GB, free: 138.3 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004039/1.542, allocations: 146 kB / 0.7884 GB, free: 138.3 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.434e-05/1.542, allocations: 97.06 kB / 0.7885 GB, free: 138.3 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=577): time 8.877e-06/1.542, allocations: 7.938 kB / 0.7885 GB, free: 138.3 MB / 0.5607 GB Notification: Performance of matching and sorting (n=577): time 0.02905/1.571, allocations: 14.69 MB / 0.8029 GB, free: 135.9 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.378e-05/1.571, allocations: 138.5 kB / 0.803 GB, free: 135.8 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009228/1.581, allocations: 6.704 MB / 0.8096 GB, free: 133.3 MB / 0.5607 GB Notification: Performance of collectPreVariables (initialization): time 0.000727/1.581, allocations: 118.2 kB / 0.8097 GB, free: 133.2 MB / 0.5607 GB Notification: Performance of collectInitialEqns (initialization): time 0.003157/1.584, allocations: 7.907 MB / 0.8174 GB, free: 126.3 MB / 0.5607 GB Notification: Performance of collectInitialBindings (initialization): time 0.001762/1.586, allocations: 2.108 MB / 0.8195 GB, free: 124.5 MB / 0.5607 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002621/1.589, allocations: 2.114 MB / 0.8215 GB, free: 123.3 MB / 0.5607 GB Notification: Performance of setup shared object (initialization): time 3.221e-05/1.589, allocations: 301.1 kB / 0.8218 GB, free: 123 MB / 0.5607 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005483/1.594, allocations: 4.744 MB / 0.8264 GB, free: 120.5 MB / 0.5607 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007328/1.602, allocations: 9.502 MB / 0.8357 GB, free: 109.6 MB / 0.5607 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01381/1.616, allocations: 15.33 MB / 0.8507 GB, free: 91.93 MB / 0.5607 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001244/1.616, allocations: 51.94 kB / 0.8507 GB, free: 91.88 MB / 0.5607 GB Notification: Performance of matching and sorting (n=1330) (initialization): time 0.0203/1.636, allocations: 15.41 MB / 0.8658 GB, free: 76.39 MB / 0.5607 GB Notification: Performance of prepare postOptimizeDAE: time 8.205e-05/1.636, allocations: 76 kB / 0.8659 GB, free: 76.32 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000171/1.636, allocations: 160 kB / 0.866 GB, free: 76.16 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004711/1.641, allocations: 1.654 MB / 0.8676 GB, free: 74.5 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006993/1.648, allocations: 2.363 MB / 0.8699 GB, free: 72.14 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/1.66, allocations: 11.3 MB / 0.881 GB, free: 60.73 MB / 0.5607 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007087/1.667, allocations: 1.366 MB / 0.8823 GB, free: 59.35 MB / 0.5607 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001034/1.668, allocations: 0.539 MB / 0.8828 GB, free: 58.81 MB / 0.5607 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 728 * 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 (1243): * Single equations (assignments): 1240 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008885/1.677, allocations: 7.145 MB / 0.8898 GB, free: 51.65 MB / 0.5607 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009769/1.678, allocations: 0.6403 MB / 0.8904 GB, free: 51 MB / 0.5607 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01282/1.691, allocations: 10.08 MB / 0.9003 GB, free: 40.82 MB / 0.5607 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.009166/1.7, allocations: 7.765 MB / 0.9079 GB, free: 32.97 MB / 0.5607 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.79e-05/1.7, allocations: 12 kB / 0.9079 GB, free: 32.96 MB / 0.5607 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.334e-05/1.7, allocations: 27.89 kB / 0.9079 GB, free: 32.93 MB / 0.5607 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03986/1.74, allocations: 24.48 MB / 0.9318 GB, free: 8.32 MB / 0.5607 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.137e-05/1.74, allocations: 8 kB / 0.9318 GB, free: 8.312 MB / 0.5607 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003721/1.744, allocations: 1.022 MB / 0.9328 GB, free: 7.289 MB / 0.5607 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004465/1.748, allocations: 1.458 MB / 0.9342 GB, free: 5.824 MB / 0.5607 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003987/1.749, allocations: 139.9 kB / 0.9344 GB, free: 5.688 MB / 0.5607 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01422/1.763, allocations: 10.85 MB / 0.945 GB, free: 10.74 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.32e-05/1.763, allocations: 11.94 kB / 0.945 GB, free: 10.73 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02252/1.785, allocations: 14.13 MB / 0.9588 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003979/1.789, allocations: 1.447 MB / 0.9602 GB, free: 10.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001031/1.79, allocations: 116 kB / 0.9603 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003079/1.793, allocations: 315.6 kB / 0.9606 GB, free: 10.37 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008423/1.794, allocations: 428.1 kB / 0.961 GB, free: 9.945 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004078/1.795, allocations: 176 kB / 0.9612 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.007968/1.803, allocations: 4.309 MB / 0.9654 GB, free: 5.496 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.01e-07/1.803, allocations: 4 kB / 0.9654 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.01339/1.816, allocations: 4.087 MB / 0.9694 GB, free: 1.391 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 36 * Number of states: 1 (source.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 (528): * Single equations (assignments): 525 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,80,77.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.2395/2.056, allocations: 14.92 MB / 0.9839 GB, free: 189.6 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01502/2.071, allocations: 10.96 MB / 0.9946 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/2.071, allocations: 0 / 0.9946 GB, free: 186.1 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.005827/2.076, allocations: 4.341 MB / 0.9989 GB, free: 184.4 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006536/2.083, allocations: 1.567 MB / 1 GB, free: 183.8 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.122/2.205, allocations: 94.76 MB / 1.093 GB, free: 97.68 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01286/2.218, allocations: 10.93 MB / 1.104 GB, free: 86.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.008158/2.226, allocations: 3.766 MB / 1.107 GB, free: 82.91 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008193/2.234, allocations: 5.951 MB / 1.113 GB, free: 76.96 MB / 0.5919 GB Notification: Performance of SimCode: time 1.152e-06/2.234, allocations: 0 / 1.113 GB, free: 76.96 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4575/2.692, allocations: 211.3 MB / 1.32 GB, free: 130.2 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.98/25.67, allocations: 9 kB / 1.32 GB, free: 130.2 MB / 0.6075 GB " [Timeout remaining time 634] (rm -f Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe >> ../files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Electrical_QuasiStatic_Machines_Examples_TransformerTestbench.fmu > Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/QuasiStatic/Machines/Examples/TransformerTestbench/TransformerTestbench.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable source.plug_p.reference.gamma in file Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.csv. Warning: Get data of variable source.plug_p.reference.gamma from file Modelica_trunk_Modelica.Electrical.QuasiStatic.Machines.Examples.TransformerTestbench_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 28.327625236008316]