Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 114.2 kB / 19.04 MB, free: 3.281 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 184.5 kB / 22.21 MB, free: 116 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.4/1.4, allocations: 225.6 MB / 250.8 MB, free: 13.38 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 51.92 kB / 368.8 MB, free: 10.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2618, allocations: 52.14 MB / 420.9 MB, free: 15.11 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics): time 0.03122/0.293, allocations: 27.12 MB / 448 MB, free: 3.848 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01758/0.3106, allocations: 8.078 MB / 456.1 MB, free: 11.75 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005172/0.3158, allocations: 199.4 kB / 456.3 MB, free: 11.55 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02334/0.3391, allocations: 9.462 MB / 465.8 MB, free: 2.066 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01238/0.3515, allocations: 3.365 MB / 469.1 MB, free: 14.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006646/0.3581, allocations: 1.832 MB / 471 MB, free: 12.87 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01838/0.3765, allocations: 12.17 MB / 483.1 MB, free: 0.6562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0337/0.4102, allocations: 14.98 MB / 498.1 MB, free: 1.492 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01289/0.4231, allocations: 6.491 MB / 0.4928 GB, free: 10.98 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01305/0.4362, allocations: 7.258 MB / 0.4999 GB, free: 3.703 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00756/0.4437, allocations: 1.84 MB / 0.5017 GB, free: 1.863 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007596/0.4513, allocations: 2.211 MB / 0.5038 GB, free: 15.65 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00649/0.4578, allocations: 3.616 MB / 0.5074 GB, free: 12.02 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01302/0.4708, allocations: 6.919 MB / 0.5141 GB, free: 5.078 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.4859/0.9568, allocations: 24.79 MB / 0.5383 GB, free: 42.92 MB / 446.2 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.9568, allocations: 1.25 kB / 0.5383 GB, free: 42.92 MB / 446.2 MB Notification: Performance of FrontEnd: time 2.886e-06/0.9568, allocations: 0 / 0.5383 GB, free: 42.92 MB / 446.2 MB Notification: Performance of Transformations before backend: time 0.0006305/0.9574, allocations: 4.438 kB / 0.5383 GB, free: 42.92 MB / 446.2 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.04242/0.9998, allocations: 14.73 MB / 0.5527 GB, free: 39.02 MB / 446.2 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.9999, allocations: 9.094 kB / 0.5527 GB, free: 39.02 MB / 446.2 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04604/1.046, allocations: 8.535 MB / 0.5611 GB, free: 37.62 MB / 446.2 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01534/1.061, allocations: 7.675 MB / 0.5686 GB, free: 35.38 MB / 446.2 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005918/1.062, allocations: 0.8045 MB / 0.5693 GB, free: 35.02 MB / 446.2 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004467/1.066, allocations: 1.057 MB / 0.5704 GB, free: 34.68 MB / 446.2 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04083/1.107, allocations: 18.29 MB / 0.5882 GB, free: 18.17 MB / 446.2 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003078/1.107, allocations: 12.17 kB / 0.5883 GB, free: 18.16 MB / 446.2 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004564/1.112, allocations: 451.5 kB / 0.5887 GB, free: 17.73 MB / 446.2 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005618/1.113, allocations: 0.6672 MB / 0.5893 GB, free: 17.07 MB / 446.2 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03232/1.145, allocations: 17.54 MB / 0.6065 GB, free: 15.52 MB / 462.2 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1166/1.261, allocations: 58.21 MB / 0.6633 GB, free: 4.914 MB / 0.4982 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03635/1.298, allocations: 36.96 MB / 0.6994 GB, free: 12.07 MB / 0.5451 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007505/1.305, allocations: 3.74 MB / 0.7031 GB, free: 8.305 MB / 0.5451 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007536/1.306, allocations: 198.5 kB / 0.7032 GB, free: 8.105 MB / 0.5451 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001208/1.306, allocations: 82.62 kB / 0.7033 GB, free: 8.012 MB / 0.5451 GB Notification: Performance of pre-optimization done (n=518): time 1.328e-05/1.306, allocations: 0 / 0.7033 GB, free: 8.012 MB / 0.5451 GB Notification: Performance of matching and sorting (n=524): time 0.06106/1.367, allocations: 21.54 MB / 0.7244 GB, free: 2.305 MB / 0.5607 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.025e-05/1.367, allocations: 103.5 kB / 0.7245 GB, free: 2.188 MB / 0.5607 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007738/1.375, allocations: 4.181 MB / 0.7285 GB, free: 13.98 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.0006599/1.376, allocations: 117.7 kB / 0.7287 GB, free: 13.86 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.003929/1.38, allocations: 4.665 MB / 0.7332 GB, free: 9.184 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.002229/1.382, allocations: 1.857 MB / 0.735 GB, free: 7.352 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003291/1.385, allocations: 1.359 MB / 0.7363 GB, free: 5.984 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.00017/1.385, allocations: 305.1 kB / 0.7366 GB, free: 5.684 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006077/1.391, allocations: 3.438 MB / 0.74 GB, free: 2.242 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008058/1.399, allocations: 5.884 MB / 0.7457 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01514/1.415, allocations: 10.02 MB / 0.7555 GB, free: 452 kB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.716e-05/1.415, allocations: 22.19 kB / 0.7555 GB, free: 432 kB / 0.5919 GB Notification: Performance of matching and sorting (n=910) (initialization): time 0.2322/1.647, allocations: 10.92 MB / 0.7662 GB, free: 228.7 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.662e-05/1.647, allocations: 42.44 kB / 0.7663 GB, free: 228.7 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001244/1.647, allocations: 75.25 kB / 0.7663 GB, free: 228.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003722/1.651, allocations: 1.452 MB / 0.7677 GB, free: 228.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005867/1.657, allocations: 1.607 MB / 0.7693 GB, free: 228.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01573/1.672, allocations: 11.49 MB / 0.7805 GB, free: 222.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005837/1.678, allocations: 414.7 kB / 0.7809 GB, free: 222.2 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001273/1.68, allocations: 331.5 kB / 0.7813 GB, free: 222.1 MB / 0.5919 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.006859/1.686, allocations: 4.166 MB / 0.7853 GB, free: 220.1 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00138/1.688, allocations: 0.4924 MB / 0.7858 GB, free: 220.1 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01415/1.702, allocations: 8.435 MB / 0.794 GB, free: 215.4 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01084/1.713, allocations: 7.042 MB / 0.8009 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.033e-05/1.713, allocations: 16 kB / 0.8009 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.404e-05/1.713, allocations: 31.41 kB / 0.801 GB, free: 209.2 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03148/1.744, allocations: 18.73 MB / 0.8193 GB, free: 192.6 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-05/1.744, allocations: 4 kB / 0.8193 GB, free: 192.6 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003757/1.748, allocations: 0.9323 MB / 0.8202 GB, free: 191.7 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003451/1.752, allocations: 1.305 MB / 0.8214 GB, free: 190.4 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008984/1.752, allocations: 108 kB / 0.8215 GB, free: 190.2 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01277/1.765, allocations: 10.19 MB / 0.8315 GB, free: 180.1 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/1.765, allocations: 8 kB / 0.8315 GB, free: 180 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01804/1.783, allocations: 12.25 MB / 0.8435 GB, free: 167.6 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002728/1.786, allocations: 1.184 MB / 0.8446 GB, free: 166.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00135/1.787, allocations: 96 kB / 0.8447 GB, free: 166.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003185/1.791, allocations: 275.6 kB / 0.845 GB, free: 166 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009141/1.791, allocations: 352.4 kB / 0.8453 GB, free: 165.7 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004425/1.792, allocations: 148 kB / 0.8455 GB, free: 165.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.003933/1.796, allocations: 2.811 MB / 0.8482 GB, free: 162.7 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/1.796, allocations: 1.312 kB / 0.8482 GB, free: 162.7 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.006585/1.802, allocations: 1.93 MB / 0.8501 GB, free: 160.8 MB / 0.5919 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.0008734/1.803, allocations: 310.1 kB / 0.8504 GB, free: 160.5 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.01167/1.815, allocations: 8.386 MB / 0.8586 GB, free: 152 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/1.815, allocations: 0 / 0.8586 GB, free: 152 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.006464/1.821, allocations: 3.894 MB / 0.8624 GB, free: 148.1 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006783/1.828, allocations: 1.125 MB / 0.8635 GB, free: 147 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03058/1.859, allocations: 19.61 MB / 0.8826 GB, free: 127.3 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007115/1.866, allocations: 7.005 MB / 0.8895 GB, free: 120.2 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.005378/1.871, allocations: 2.313 MB / 0.8917 GB, free: 117.9 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001273/1.873, allocations: 419.3 kB / 0.8921 GB, free: 117.5 MB / 0.5919 GB Notification: Performance of SimCode: time 9.22e-07/1.873, allocations: 0 / 0.8921 GB, free: 117.5 MB / 0.5919 GB Notification: Performance of Templates: time 0.1164/1.989, allocations: 82.45 MB / 0.9726 GB, free: 35.61 MB / 0.5919 GB " [Timeout remaining time 658] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMS_Characteristics_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMS_Characteristics/IMS_Characteristics.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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: 8.588775623589754]