Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.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.0009747/0.0009747, allocations: 84.39 kB / 22.21 MB, free: 2.285 MB / 18.57 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.001119/0.001119, allocations: 159.5 kB / 25.6 MB, free: 8.445 MB / 18.57 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 0.9419/0.9419, allocations: 158.6 MB / 187.5 MB, free: 2.805 MB / 170.7 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: translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|inductor_e.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.re|converter_m.singlePhaseElectroMagneticConverter.[0-9,]+..Phi.im|inductor_e.inductor.[0-9,]+..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.475e-06/2.475e-06, allocations: 0 / 251.5 MB, free: 7.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.752e-05/3e-05, allocations: 2.312 kB / 251.5 MB, free: 7.238 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.004303/0.004333, allocations: 4.475 MB / 255.9 MB, free: 2.734 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.001851/0.006184, allocations: 1.702 MB / 257.6 MB, free: 1.023 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004888/0.006672, allocations: 27.81 kB / 257.7 MB, free: 0.9961 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004478/0.00712, allocations: 274 kB / 257.9 MB, free: 0.7266 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001022/0.008143, allocations: 0.6486 MB / 258.6 MB, free: 76 kB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003597/0.008502, allocations: 235.4 kB / 258.8 MB, free: 15.84 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001333/0.009836, allocations: 1.953 MB / 260.8 MB, free: 13.88 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005737/0.01041, allocations: 0.6481 MB / 261.4 MB, free: 13.2 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008663/0.01128, allocations: 1.286 MB / 262.7 MB, free: 11.91 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007903/0.01207, allocations: 1.049 MB / 263.8 MB, free: 10.86 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002093/0.01228, allocations: 184 kB / 263.9 MB, free: 10.68 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003528/0.01263, allocations: 295.8 kB / 264.2 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003071/0.01294, allocations: 0.5609 MB / 264.8 MB, free: 9.828 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007013/0.01364, allocations: 0.6274 MB / 265.4 MB, free: 9.199 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001143/0.01478, allocations: 1.593 MB / 267 MB, free: 7.602 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.01478, allocations: 0 / 267 MB, free: 7.602 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.01e-07/0.01478, allocations: 3.938 kB / 267 MB, free: 7.598 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.227e-05/0.0148, allocations: 4 kB / 267 MB, free: 7.594 MB / 250.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 344 * Number of variables: 344 Notification: Performance of Generate backend data structure: time 0.002238/0.01703, allocations: 2.168 MB / 269.2 MB, free: 5.383 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.01707, allocations: 15.98 kB / 269.2 MB, free: 5.367 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009051/0.01798, allocations: 475.3 kB / 269.7 MB, free: 4.902 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007678/0.01875, allocations: 0.7757 MB / 270.4 MB, free: 4.094 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.679e-05/0.0188, allocations: 99.05 kB / 270.5 MB, free: 3.996 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001344/0.01894, allocations: 136.3 kB / 270.7 MB, free: 3.863 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001134/0.02007, allocations: 1.13 MB / 271.8 MB, free: 2.66 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.02009, allocations: 3.938 kB / 271.8 MB, free: 2.656 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.223e-05/0.02018, allocations: 56 kB / 271.8 MB, free: 2.602 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.563e-05/0.02022, allocations: 46 kB / 271.9 MB, free: 2.559 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009944/0.02122, allocations: 394.7 kB / 272.3 MB, free: 2.172 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004315/0.02553, allocations: 4.316 MB / 276.6 MB, free: 13.64 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.02656, allocations: 0.6422 MB / 277.2 MB, free: 12.98 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.02675, allocations: 181.4 kB / 277.4 MB, free: 12.8 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001141/0.02789, allocations: 1.143 MB / 278.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.02792, allocations: 45.38 kB / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=53): time 2.295e-06/0.02792, allocations: 0 / 278.6 MB, free: 11.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.001663/0.02958, allocations: 0.6714 MB / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.02963, allocations: 81.11 kB / 279.4 MB, free: 10.79 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006509/0.03028, allocations: 0.8308 MB / 280.2 MB, free: 9.949 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.03031, allocations: 37.7 kB / 280.2 MB, free: 9.906 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003946/0.03071, allocations: 0.7755 MB / 281 MB, free: 9.121 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001155/0.03082, allocations: 206.3 kB / 281.2 MB, free: 8.918 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.03098, allocations: 143.9 kB / 281.3 MB, free: 8.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.03113, allocations: 0.5198 MB / 281.9 MB, free: 8.242 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001032/0.03123, allocations: 69.19 kB / 281.9 MB, free: 8.176 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002235/0.03146, allocations: 311.8 kB / 282.2 MB, free: 7.773 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000365/0.03182, allocations: 438.6 kB / 282.7 MB, free: 7.254 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.03182, allocations: 0 / 282.7 MB, free: 7.254 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0006349/0.03246, allocations: 486.5 kB / 283.1 MB, free: 6.773 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.03248, allocations: 12.06 kB / 283.1 MB, free: 6.762 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.03249, allocations: 4 kB / 283.1 MB, free: 6.758 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.374e-05/0.03252, allocations: 8 kB / 283.2 MB, free: 6.75 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003912/0.03291, allocations: 159.8 kB / 283.3 MB, free: 6.594 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.03292, allocations: 15.92 kB / 283.3 MB, free: 6.578 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.03314, allocations: 67.5 kB / 283.4 MB, free: 6.512 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.207e-05/0.03317, allocations: 27.98 kB / 283.4 MB, free: 6.484 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (82): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002227/0.03339, allocations: 200.4 kB / 283.6 MB, free: 6.277 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.03351, allocations: 103.4 kB / 283.7 MB, free: 6.176 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005623/0.03407, allocations: 388.2 kB / 284.1 MB, free: 5.781 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.03408, allocations: 8 kB / 284.1 MB, free: 5.773 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.03408, allocations: 4 kB / 284.1 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.03409, allocations: 0 / 284.1 MB, free: 5.77 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/0.03527, allocations: 0.9929 MB / 285.1 MB, free: 4.73 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.03527, allocations: 0 / 285.1 MB, free: 4.73 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002156/0.03549, allocations: 83.89 kB / 285.2 MB, free: 4.648 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003291/0.03582, allocations: 138.9 kB / 285.3 MB, free: 4.512 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.516e-05/0.03585, allocations: 19.98 kB / 285.3 MB, free: 4.492 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.03766, allocations: 2.602 MB / 287.9 MB, free: 1.781 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.03766, allocations: 4 kB / 287.9 MB, free: 1.777 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007659/0.03843, allocations: 0.8078 MB / 288.8 MB, free: 0.9375 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.772e-05/0.03852, allocations: 99.22 kB / 288.8 MB, free: 0.8398 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.026e-05/0.03859, allocations: 23.98 kB / 288.9 MB, free: 0.8164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002167/0.0388, allocations: 32.02 kB / 288.9 MB, free: 0.7852 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.906e-05/0.03888, allocations: 51.91 kB / 289 MB, free: 0.7344 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-05/0.0389, allocations: 12 kB / 289 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0003121/0.03921, allocations: 478.8 kB / 289.4 MB, free: 268 kB / 266.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03922, allocations: 0 / 289.4 MB, free: 268 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0007191/0.03993, allocations: 366.9 kB / 289.8 MB, free: 15.9 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 5 (inductor_e.inductor[1].i,inductor_e.inductor[2].i,inductor_e.inductor[3].i,converter_m.singlePhaseElectroMagneticConverter[3].Phi.re,converter_m.singlePhaseElectroMagneticConverter[3].Phi.im) * 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 (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002429/0.04018, allocations: 135.1 kB / 289.9 MB, free: 15.76 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006998/0.04088, allocations: 304.7 kB / 290.2 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.04088, allocations: 0 / 290.2 MB, free: 15.46 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004585/0.04134, allocations: 442.5 kB / 290.7 MB, free: 15.01 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005437/0.04188, allocations: 167.9 kB / 290.8 MB, free: 14.85 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002576/0.04446, allocations: 2.316 MB / 293.1 MB, free: 12.46 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.04478, allocations: 437.7 kB / 293.6 MB, free: 12.02 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002537/0.04503, allocations: 110.6 kB / 293.7 MB, free: 11.9 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003392/0.04537, allocations: 250.1 kB / 293.9 MB, free: 11.66 MB / 282.7 MB Notification: Performance of SimCode: time 1.302e-06/0.04537, allocations: 0 / 293.9 MB, free: 11.66 MB / 282.7 MB Notification: Performance of Templates: time 0.01642/0.0618, allocations: 12.15 MB / 306.1 MB, free: 15.55 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.966557334177196]