Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.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.00603/0.00603, allocations: 100.6 kB / 21.96 MB, free: 5.211 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.001691/0.001691, allocations: 214 kB / 25.25 MB, free: 3.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.287/1.287, allocations: 207.7 MB / 236.1 MB, free: 9.793 MB / 190.1 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,fileNamePrefix="Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001628/0.001628, allocations: 59.92 kB / 348 MB, free: 9.844 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2403, allocations: 49.14 MB / 397.2 MB, free: 8.887 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.02352/0.2638, allocations: 23.24 MB / 420.4 MB, free: 9.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01866/0.2825, allocations: 7.695 MB / 428.1 MB, free: 2.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005911/0.2884, allocations: 198.3 kB / 428.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02103/0.3094, allocations: 8.761 MB / 437.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0129/0.3223, allocations: 3.424 MB / 440.5 MB, free: 7.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005519/0.3278, allocations: 1.855 MB / 442.3 MB, free: 5.805 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.01734/0.3452, allocations: 12.4 MB / 454.7 MB, free: 9.359 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02717/0.3723, allocations: 16.07 MB / 470.8 MB, free: 9.09 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01143/0.3838, allocations: 6.698 MB / 477.5 MB, free: 2.375 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01265/0.3964, allocations: 7.374 MB / 484.9 MB, free: 10.98 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004977/0.4014, allocations: 1.852 MB / 486.7 MB, free: 9.125 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006909/0.4083, allocations: 2.222 MB / 489 MB, free: 6.902 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004991/0.4133, allocations: 3.679 MB / 492.6 MB, free: 3.215 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01083/0.4241, allocations: 5.448 MB / 498.1 MB, free: 13.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03077/0.4549, allocations: 24.93 MB / 0.5108 GB, free: 4.738 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.575e-06/0.4549, allocations: 0 / 0.5108 GB, free: 4.738 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4549, allocations: 0 / 0.5108 GB, free: 4.738 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0006847/0.4556, allocations: 0 / 0.5108 GB, free: 4.738 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.04663/0.5022, allocations: 14.85 MB / 0.5253 GB, free: 5.781 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.947e-05/0.5023, allocations: 15.98 kB / 0.5253 GB, free: 5.766 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0004075/0.5027, allocations: 332.5 kB / 0.5256 GB, free: 5.438 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006874/0.5096, allocations: 1.817 MB / 0.5274 GB, free: 3.609 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05154/0.5611, allocations: 9.538 MB / 0.5367 GB, free: 10.05 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01644/0.5775, allocations: 6.986 MB / 0.5435 GB, free: 2.98 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000964/0.5785, allocations: 0.8188 MB / 0.5443 GB, free: 2.16 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004589/0.5831, allocations: 1.066 MB / 0.5453 GB, free: 1.094 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4066/0.9897, allocations: 18.99 MB / 0.5639 GB, free: 122.9 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005572/0.9903, allocations: 14.7 kB / 0.5639 GB, free: 122.9 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003278/0.9935, allocations: 455.3 kB / 0.5643 GB, free: 122.9 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001043/0.9946, allocations: 0.6998 MB / 0.565 GB, free: 122.9 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03864/1.033, allocations: 18.23 MB / 0.5828 GB, free: 116.4 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08163/1.115, allocations: 53.1 MB / 0.6347 GB, free: 74.83 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02175/1.137, allocations: 14.64 MB / 0.649 GB, free: 62.96 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00577/1.142, allocations: 3.893 MB / 0.6528 GB, free: 59.05 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01972/1.162, allocations: 11.25 MB / 0.6638 GB, free: 48 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.474e-05/1.162, allocations: 77.53 kB / 0.6638 GB, free: 47.91 MB / 478.1 MB Notification: Performance of pre-optimization done (n=387): time 7.154e-06/1.162, allocations: 0 / 0.6638 GB, free: 47.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=466): time 0.06123/1.223, allocations: 30.49 MB / 0.6936 GB, free: 17.81 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/1.223, allocations: 99.06 kB / 0.6937 GB, free: 17.7 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006253/1.23, allocations: 4.348 MB / 0.6979 GB, free: 13.36 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0008238/1.231, allocations: 101.7 kB / 0.698 GB, free: 13.26 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002273/1.233, allocations: 4.997 MB / 0.7029 GB, free: 8.219 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001477/1.234, allocations: 1.677 MB / 0.7046 GB, free: 6.527 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003113/1.237, allocations: 1.374 MB / 0.7059 GB, free: 5.145 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 4.711e-05/1.237, allocations: 305.1 kB / 0.7062 GB, free: 4.844 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005284/1.243, allocations: 3.597 MB / 0.7097 GB, free: 1.242 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008612/1.251, allocations: 6.28 MB / 0.7158 GB, free: 9.738 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01706/1.268, allocations: 10.54 MB / 0.7261 GB, free: 13.97 MB / 0.4982 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001294/1.268, allocations: 28 kB / 0.7262 GB, free: 13.95 MB / 0.4982 GB Notification: Performance of matching and sorting (n=897) (initialization): time 0.02618/1.295, allocations: 12.42 MB / 0.7383 GB, free: 1.504 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001226/1.295, allocations: 40 kB / 0.7383 GB, free: 1.465 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001654/1.295, allocations: 88 kB / 0.7384 GB, free: 1.379 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008627/1.304, allocations: 2.908 MB / 0.7412 GB, free: 14.46 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005827/1.309, allocations: 1.474 MB / 0.7427 GB, free: 12.98 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03845/1.348, allocations: 23.46 MB / 0.7656 GB, free: 5.27 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005266/1.353, allocations: 415.5 kB / 0.766 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001293/1.354, allocations: 352 kB / 0.7663 GB, free: 4.52 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 396 * 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 (758): * Single equations (assignments): 755 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(14,56,41.3%), (14,56,39.3%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.008121/1.363, allocations: 4.262 MB / 0.7705 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.1736/1.536, allocations: 497.8 kB / 0.771 GB, free: 176 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01827/1.554, allocations: 9.533 MB / 0.7803 GB, free: 174.6 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01341/1.568, allocations: 8.054 MB / 0.7881 GB, free: 171.5 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.92e-05/1.568, allocations: 24.03 kB / 0.7882 GB, free: 171.5 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000101/1.568, allocations: 22.22 kB / 0.7882 GB, free: 171.5 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0295/1.598, allocations: 19.02 MB / 0.8067 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-05/1.598, allocations: 6 kB / 0.8068 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002862/1.6, allocations: 0.7407 MB / 0.8075 GB, free: 164 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006125/1.607, allocations: 2.597 MB / 0.81 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005591/1.607, allocations: 98.53 kB / 0.8101 GB, free: 163.4 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02195/1.629, allocations: 19.71 MB / 0.8294 GB, free: 148 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.629, allocations: 0 / 0.8294 GB, free: 148 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01775/1.647, allocations: 13.43 MB / 0.8425 GB, free: 134.8 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00355/1.65, allocations: 1.161 MB / 0.8436 GB, free: 133.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001253/1.652, allocations: 87.84 kB / 0.8437 GB, free: 133.8 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002872/1.654, allocations: 267.8 kB / 0.8439 GB, free: 133.5 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008966/1.655, allocations: 360.5 kB / 0.8443 GB, free: 133.2 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003329/1.656, allocations: 132 kB / 0.8444 GB, free: 133.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003726/1.659, allocations: 2.908 MB / 0.8473 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of sort global known variables: time 4.4e-07/1.659, allocations: 0 / 0.8473 GB, free: 130.1 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007011/1.666, allocations: 2.053 MB / 0.8493 GB, free: 128.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (vSourceQS.plug_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 (372): * Single equations (assignments): 369 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(14,50,39.8%), (14,56,41.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01803/1.684, allocations: 14.17 MB / 0.8631 GB, free: 113.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0144/1.699, allocations: 9.523 MB / 0.8724 GB, free: 104.4 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 6.071e-06/1.699, allocations: 4.875 kB / 0.8724 GB, free: 104.4 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.007962/1.707, allocations: 4.703 MB / 0.877 GB, free: 99.66 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00545/1.712, allocations: 1.114 MB / 0.8781 GB, free: 98.57 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1083/1.821, allocations: 68.56 MB / 0.945 GB, free: 26.99 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01071/1.831, allocations: 6.788 MB / 0.9517 GB, free: 20.15 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.006723/1.838, allocations: 2.278 MB / 0.9539 GB, free: 17.86 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006659/1.845, allocations: 3.948 MB / 0.9577 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of SimCode: time 1.803e-06/1.845, allocations: 0 / 0.9577 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3909/2.236, allocations: 166.3 MB / 1.12 GB, free: 44.26 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.7/23.93, allocations: 0 / 1.12 GB, free: 44.26 MB / 0.5294 GB " [Timeout remaining time 636] (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Magnetic_QuasiStatic_FundamentalWave_Examples_BasicMachines_InductionMachines_IMS_Characteristics.fmu > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 27.540446414030157]