Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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.0008252/0.0008252, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0007994/0.0007994, allocations: 156.9 kB / 23.95 MB, free: 0.6094 MB / 18.57 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 0.8854/0.8854, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.373e-06/1.373e-06, allocations: 0 / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161e-05/1.299e-05, allocations: 6.281 kB / 324.6 MB, free: 15.86 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.01682/0.01683, allocations: 23.24 MB / 347.8 MB, free: 8.5 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01225/0.02908, allocations: 7.86 MB / 355.7 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001965/0.03105, allocations: 234.8 kB / 355.9 MB, free: 396 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008846/0.03989, allocations: 9.241 MB / 365.1 MB, free: 7.121 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006552/0.04644, allocations: 3.437 MB / 368.6 MB, free: 3.672 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.04923, allocations: 1.822 MB / 370.4 MB, free: 1.863 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.01029/0.05952, allocations: 12.76 MB / 383.1 MB, free: 5.047 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01568/0.07519, allocations: 15.9 MB / 399 MB, free: 4.961 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0104/0.08559, allocations: 9.708 MB / 408.8 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006567/0.09216, allocations: 6.272 MB / 415 MB, free: 4.953 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001914/0.09407, allocations: 1.844 MB / 416.9 MB, free: 3.109 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002487/0.09656, allocations: 2.226 MB / 419.1 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001749/0.09831, allocations: 3.674 MB / 422.8 MB, free: 13.2 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00388/0.1022, allocations: 4.624 MB / 427.4 MB, free: 8.566 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.2086/0.3108, allocations: 25.11 MB / 452.5 MB, free: 46.99 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3108, allocations: 0 / 452.5 MB, free: 46.99 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.3108, allocations: 0.5 kB / 452.5 MB, free: 46.99 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006641/0.3115, allocations: 0.5312 kB / 452.5 MB, free: 46.99 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: 3035 * Number of variables: 3035 Notification: Performance of Generate backend data structure: time 0.02557/0.337, allocations: 14.56 MB / 467.1 MB, free: 43.4 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.3371, allocations: 14.33 kB / 467.1 MB, free: 43.39 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001841/0.3389, allocations: 1.784 MB / 468.9 MB, free: 43.26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02217/0.3611, allocations: 8.446 MB / 477.3 MB, free: 42.57 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0139/0.375, allocations: 7.809 MB / 485.1 MB, free: 41.37 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003977/0.3754, allocations: 0.806 MB / 485.9 MB, free: 41.34 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002297/0.3777, allocations: 1.061 MB / 487 MB, free: 41.11 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02444/0.4021, allocations: 18.55 MB / 0.4937 GB, free: 24.39 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001619/0.4023, allocations: 19.89 kB / 0.4937 GB, free: 24.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000766/0.4031, allocations: 450.5 kB / 0.4941 GB, free: 23.95 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003254/0.4034, allocations: 0.6672 MB / 0.4948 GB, free: 23.28 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01732/0.4207, allocations: 17.49 MB / 0.5119 GB, free: 5.789 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05594/0.4766, allocations: 52.14 MB / 0.5628 GB, free: 1.555 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01337/0.49, allocations: 12.66 MB / 0.5751 GB, free: 6.922 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003934/0.494, allocations: 3.734 MB / 0.5788 GB, free: 3.164 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002849/0.4942, allocations: 127.9 kB / 0.5789 GB, free: 3.035 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.045e-05/0.4943, allocations: 90.62 kB / 0.579 GB, free: 2.934 MB / 474.7 MB Notification: Performance of pre-optimization done (n=518): time 6.522e-06/0.4943, allocations: 0 / 0.579 GB, free: 2.934 MB / 474.7 MB Notification: Performance of matching and sorting (n=524): time 0.03097/0.5253, allocations: 21.26 MB / 0.5998 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.341e-05/0.5253, allocations: 103.5 kB / 0.5999 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004498/0.5298, allocations: 4.26 MB / 0.604 GB, free: 9.137 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002375/0.5301, allocations: 113.7 kB / 0.6041 GB, free: 9.02 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002115/0.5322, allocations: 4.659 MB / 0.6087 GB, free: 4.352 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009918/0.5332, allocations: 1.839 MB / 0.6105 GB, free: 2.535 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001377/0.5346, allocations: 1.359 MB / 0.6118 GB, free: 1.168 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 6.778e-05/0.5346, allocations: 301.1 kB / 0.6121 GB, free: 0.8711 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003458/0.5381, allocations: 3.434 MB / 0.6154 GB, free: 13.43 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004731/0.5428, allocations: 5.899 MB / 0.6212 GB, free: 6.469 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008764/0.5516, allocations: 10.02 MB / 0.631 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.142e-05/0.5516, allocations: 24 kB / 0.631 GB, free: 11.59 MB / 0.5261 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.01223/0.5639, allocations: 10.9 MB / 0.6417 GB, free: 1.102 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 4.594e-05/0.5639, allocations: 44.03 kB / 0.6417 GB, free: 1.059 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.833e-05/0.564, allocations: 76 kB / 0.6418 GB, free: 0.9844 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2018/0.7658, allocations: 1.374 MB / 0.6431 GB, free: 203.8 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004583/0.7704, allocations: 1.619 MB / 0.6447 GB, free: 203.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/0.7804, allocations: 10.97 MB / 0.6554 GB, free: 200.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003866/0.7842, allocations: 401.2 kB / 0.6558 GB, free: 200.4 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003969/0.7846, allocations: 338.8 kB / 0.6561 GB, free: 200.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 354 * 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 (840): * Single equations (assignments): 838 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005029/0.7897, allocations: 4.161 MB / 0.6602 GB, free: 198.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007022/0.7904, allocations: 0.4977 MB / 0.6607 GB, free: 198.4 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008292/0.7987, allocations: 8.388 MB / 0.6688 GB, free: 195 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006562/0.8052, allocations: 7.029 MB / 0.6757 GB, free: 191.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-05/0.8052, allocations: 15.98 kB / 0.6757 GB, free: 191.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.84e-05/0.8053, allocations: 27.89 kB / 0.6758 GB, free: 191.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0188/0.8241, allocations: 17.84 MB / 0.6932 GB, free: 176.6 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.8241, allocations: 4 kB / 0.6932 GB, free: 176.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001798/0.8259, allocations: 0.9437 MB / 0.6941 GB, free: 175.8 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001626/0.8275, allocations: 1.228 MB / 0.6953 GB, free: 174.9 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001918/0.8277, allocations: 115.5 kB / 0.6954 GB, free: 174.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007419/0.8351, allocations: 9.691 MB / 0.7049 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.8351, allocations: 15.86 kB / 0.7049 GB, free: 165.4 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0102/0.8453, allocations: 12.22 MB / 0.7168 GB, free: 153.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001925/0.8472, allocations: 1.13 MB / 0.7179 GB, free: 152.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003817/0.8476, allocations: 96 kB / 0.718 GB, free: 152.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.8488, allocations: 263.7 kB / 0.7183 GB, free: 151.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004106/0.8492, allocations: 372.3 kB / 0.7186 GB, free: 151.5 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001861/0.8494, allocations: 156 kB / 0.7188 GB, free: 151.3 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.002694/0.8521, allocations: 2.764 MB / 0.7215 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4.01e-07/0.8521, allocations: 4 kB / 0.7215 GB, free: 148.5 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004543/0.8567, allocations: 1.922 MB / 0.7233 GB, free: 146.6 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (imsQS.rotor.stray.port_p.reference.gamma,speed.phi) * 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 (499): * Single equations (assignments): 497 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(14,56,41.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01053/0.8672, allocations: 12.99 MB / 0.736 GB, free: 133.4 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008028/0.8752, allocations: 8.378 MB / 0.7442 GB, free: 125 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.309e-06/0.8752, allocations: 0 / 0.7442 GB, free: 125 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003457/0.8787, allocations: 3.882 MB / 0.748 GB, free: 121.1 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003085/0.8818, allocations: 1.144 MB / 0.7491 GB, free: 120 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07033/0.9521, allocations: 63.64 MB / 0.8113 GB, free: 53.39 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004451/0.9565, allocations: 6.59 MB / 0.8177 GB, free: 46.74 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003644/0.9602, allocations: 2.309 MB / 0.82 GB, free: 44.43 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002752/0.9629, allocations: 3.898 MB / 0.8238 GB, free: 40.53 MB / 0.5261 GB Notification: Performance of SimCode: time 1.353e-06/0.9629, allocations: 0 / 0.8238 GB, free: 40.53 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3112/1.274, allocations: 152.6 MB / 0.9728 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.24/12.52, allocations: 7.203 kB / 0.9728 GB, free: 119.2 MB / 0.5261 GB " [Timeout remaining time 647] (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 Modelica_trunk_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable resistor.plug_p.reference.gamma in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv. Warning: Get data of variable resistor.plug_p.reference.gamma from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv failed! Error: Could not read variable speed.phi in file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv. Warning: Get data of variable speed.phi from file Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.368699830025434]