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.001666/0.001666, allocations: 120.2 kB / 21.94 MB, free: 28 kB / 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.001576/0.001576, allocations: 208.8 kB / 25.24 MB, free: 3.562 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.515/1.515, allocations: 207.6 MB / 236 MB, free: 9.984 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor.plug_p.reference.gamma|speed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [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.001799/0.001799, allocations: 51.92 kB / 348.5 MB, free: 9.496 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3455, allocations: 49.16 MB / 397.6 MB, free: 9.523 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03372/0.3792, allocations: 27.24 MB / 424.9 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.02278/0.402, allocations: 8.042 MB / 432.9 MB, free: 14.84 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0107/0.4127, allocations: 206.1 kB / 433.1 MB, free: 14.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02623/0.4389, allocations: 9.504 MB / 442.6 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01617/0.4551, allocations: 3.494 MB / 446.1 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007736/0.4628, allocations: 1.886 MB / 448 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.02267/0.4855, allocations: 12.43 MB / 460.4 MB, free: 4.391 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03648/0.5219, allocations: 16.07 MB / 476.5 MB, free: 4.125 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01366/0.5356, allocations: 6.702 MB / 483.2 MB, free: 13.41 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01521/0.5508, allocations: 7.37 MB / 490.6 MB, free: 6.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006424/0.5572, allocations: 1.848 MB / 492.4 MB, free: 4.164 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008923/0.5662, allocations: 2.23 MB / 494.7 MB, free: 1.934 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007998/0.5742, allocations: 3.682 MB / 498.3 MB, free: 14.24 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01602/0.5902, allocations: 7.008 MB / 0.4935 GB, free: 7.207 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.04106/0.6312, allocations: 24.83 MB / 0.5177 GB, free: 14.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.763e-06/0.6312, allocations: 0 / 0.5177 GB, free: 14.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.6313, allocations: 0 / 0.5177 GB, free: 14.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.0008848/0.6321, allocations: 0 / 0.5177 GB, free: 14.3 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: 3092 * Number of variables: 3092 Notification: Performance of Generate backend data structure: time 0.05666/0.6888, allocations: 14.85 MB / 0.5322 GB, free: 15.36 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.067e-05/0.6889, allocations: 15.98 kB / 0.5323 GB, free: 15.34 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05455/0.7434, allocations: 9.528 MB / 0.5416 GB, free: 5.793 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02305/0.7665, allocations: 6.982 MB / 0.5484 GB, free: 14.72 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00118/0.7676, allocations: 0.8109 MB / 0.5492 GB, free: 13.91 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006097/0.7737, allocations: 1.074 MB / 0.5502 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.6548/1.429, allocations: 18.75 MB / 0.5685 GB, free: 124.8 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004673/1.429, allocations: 14.98 kB / 0.5686 GB, free: 124.8 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004165/1.433, allocations: 455.8 kB / 0.569 GB, free: 124.5 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001454/1.435, allocations: 0.7055 MB / 0.5697 GB, free: 124.4 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04947/1.484, allocations: 18.22 MB / 0.5875 GB, free: 117.7 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1232/1.607, allocations: 57.84 MB / 0.644 GB, free: 67.68 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02588/1.633, allocations: 14.79 MB / 0.6584 GB, free: 55.67 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007217/1.64, allocations: 3.898 MB / 0.6622 GB, free: 51.75 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02344/1.664, allocations: 12.15 MB / 0.6741 GB, free: 39.86 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.19e-05/1.664, allocations: 69.58 kB / 0.6741 GB, free: 39.78 MB / 478.1 MB Notification: Performance of pre-optimization done (n=385): time 6.112e-06/1.664, allocations: 0 / 0.6741 GB, free: 39.78 MB / 478.1 MB Notification: Performance of matching and sorting (n=391): time 0.04165/1.705, allocations: 19.26 MB / 0.6929 GB, free: 20.92 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/1.706, allocations: 90.47 kB / 0.693 GB, free: 20.82 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006872/1.712, allocations: 4.348 MB / 0.6973 GB, free: 16.51 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001166/1.714, allocations: 85.7 kB / 0.6974 GB, free: 16.42 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00262/1.716, allocations: 5.014 MB / 0.7023 GB, free: 11.4 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002013/1.718, allocations: 1.414 MB / 0.7036 GB, free: 9.973 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002055/1.72, allocations: 1.275 MB / 0.7049 GB, free: 8.688 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.555e-05/1.72, allocations: 309.1 kB / 0.7052 GB, free: 8.383 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004003/1.724, allocations: 3.116 MB / 0.7082 GB, free: 5.262 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005712/1.73, allocations: 5.744 MB / 0.7138 GB, free: 14.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01632/1.746, allocations: 9.446 MB / 0.7231 GB, free: 3.609 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001335/1.746, allocations: 35.88 kB / 0.7231 GB, free: 3.574 MB / 494.1 MB Notification: Performance of matching and sorting (n=822) (initialization): time 0.02402/1.771, allocations: 10.25 MB / 0.7331 GB, free: 9.297 MB / 0.4982 GB Notification: Performance of prepare postOptimizeDAE: time 9.957e-05/1.771, allocations: 43.98 kB / 0.7331 GB, free: 9.254 MB / 0.4982 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000188/1.771, allocations: 88 kB / 0.7332 GB, free: 9.168 MB / 0.4982 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004318/1.775, allocations: 1.456 MB / 0.7346 GB, free: 7.707 MB / 0.4982 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006387/1.782, allocations: 1.455 MB / 0.7361 GB, free: 6.25 MB / 0.4982 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01949/1.801, allocations: 11.37 MB / 0.7472 GB, free: 10.75 MB / 0.5138 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006431/1.807, allocations: 395.5 kB / 0.7475 GB, free: 10.36 MB / 0.5138 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001816/1.809, allocations: 332 kB / 0.7479 GB, free: 10.04 MB / 0.5138 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 (752): * Single equations (assignments): 750 * 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.8%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.01234/1.822, allocations: 4.18 MB / 0.7519 GB, free: 5.844 MB / 0.5138 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001736/1.823, allocations: 469 kB / 0.7524 GB, free: 5.383 MB / 0.5138 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01496/1.838, allocations: 7.313 MB / 0.7595 GB, free: 14.03 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01185/1.85, allocations: 5.996 MB / 0.7654 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.893e-05/1.85, allocations: 12 kB / 0.7654 GB, free: 7.996 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.818e-05/1.85, allocations: 23.91 kB / 0.7654 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3719/2.222, allocations: 16.35 MB / 0.7814 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.71e-05/2.222, allocations: 2.531 kB / 0.7814 GB, free: 172.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003584/2.226, allocations: 0.7256 MB / 0.7821 GB, free: 172.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004058/2.23, allocations: 1.296 MB / 0.7834 GB, free: 172.1 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007945/2.231, allocations: 91.95 kB / 0.7835 GB, free: 172 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01505/2.246, allocations: 10.1 MB / 0.7933 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.649e-06/2.246, allocations: 1.188 kB / 0.7933 GB, free: 166.8 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01644/2.262, allocations: 10.52 MB / 0.8036 GB, free: 162.6 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003158/2.265, allocations: 1.016 MB / 0.8046 GB, free: 162.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008545/2.266, allocations: 70.38 kB / 0.8047 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002345/2.268, allocations: 255.9 kB / 0.8049 GB, free: 162.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007294/2.269, allocations: 284 kB / 0.8052 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002676/2.269, allocations: 116.6 kB / 0.8053 GB, free: 162.1 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.004232/2.274, allocations: 2.909 MB / 0.8081 GB, free: 161 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/2.274, allocations: 0 / 0.8081 GB, free: 161 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.007545/2.281, allocations: 1.835 MB / 0.8099 GB, free: 160.8 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (imsQS.rotor.strayReluctance.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 (360): * Single equations (assignments): 358 * 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.0008721/2.282, allocations: 259.9 kB / 0.8102 GB, free: 160.7 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01334/2.295, allocations: 7.572 MB / 0.8176 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.456e-06/2.295, allocations: 3.906 kB / 0.8176 GB, free: 157.8 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.006506/2.302, allocations: 3.383 MB / 0.8209 GB, free: 156.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008/2.31, allocations: 1.094 MB / 0.8219 GB, free: 155.3 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04118/2.351, allocations: 18.89 MB / 0.8404 GB, free: 138.1 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01208/2.363, allocations: 6.819 MB / 0.847 GB, free: 132.2 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002529/2.366, allocations: 419.3 kB / 0.8474 GB, free: 131.7 MB / 0.5294 GB Notification: Performance of SimCode: time 1.222e-06/2.366, allocations: 0 / 0.8474 GB, free: 131.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.4703/2.836, allocations: 180.9 MB / 1.024 GB, free: 142.1 MB / 0.5294 GB " [Timeout remaining time 657] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] 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 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.07345703803003]