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.001767/0.001767, allocations: 100.3 kB / 21.73 MB, free: 2.695 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.001566/0.001566, allocations: 166.9 kB / 25.02 MB, free: 8.945 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 1.557/1.557, allocations: 158.6 MB / 186.8 MB, free: 2.906 MB / 170.7 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.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|converter_m.singlePhaseElectroMagneticConverter.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..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.1..Phi.re|converter_m.singlePhaseElectroMagneticConverter.2..Phi.im|inductor_e.inductor.1..i|inductor_e.inductor.2..i|inductor_e.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.074e-05/3.22e-05, allocations: 2.312 kB / 250.4 MB, free: 7.828 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.006819/0.006851, allocations: 4.179 MB / 254.5 MB, free: 3.621 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.003651/0.0105, allocations: 1.655 MB / 256.2 MB, free: 1.957 MB / 234.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005725/0.01107, allocations: 31.75 kB / 256.2 MB, free: 1.926 MB / 234.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008445/0.01192, allocations: 270.2 kB / 256.5 MB, free: 1.66 MB / 234.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002096/0.01401, allocations: 0.668 MB / 257.2 MB, free: 0.9844 MB / 234.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006859/0.0147, allocations: 231.5 kB / 257.4 MB, free: 0.7578 MB / 234.7 MB Notification: Performance of NFFlatten.flatten: time 0.002838/0.01754, allocations: 1.945 MB / 259.3 MB, free: 14.8 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001111/0.01865, allocations: 0.6403 MB / 260 MB, free: 14.12 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001783/0.02043, allocations: 1.142 MB / 261.1 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001454/0.02189, allocations: 0.9275 MB / 262 MB, free: 12.05 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002658/0.02215, allocations: 188 kB / 262.2 MB, free: 11.87 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006538/0.02281, allocations: 299.7 kB / 262.5 MB, free: 11.57 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005688/0.02338, allocations: 0.5647 MB / 263.1 MB, free: 11.01 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000782/0.02416, allocations: 0.6118 MB / 263.7 MB, free: 10.39 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003158/0.02732, allocations: 2.61 MB / 266.3 MB, free: 7.777 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.122e-06/0.02732, allocations: 0 / 266.3 MB, free: 7.777 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.02732, allocations: 4 kB / 266.3 MB, free: 7.773 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.958e-05/0.02736, allocations: 4 kB / 266.3 MB, free: 7.77 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.004958/0.03232, allocations: 2.125 MB / 268.4 MB, free: 5.605 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.488e-05/0.03237, allocations: 15.98 kB / 268.4 MB, free: 5.59 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002138/0.0345, allocations: 0.5228 MB / 269 MB, free: 5.066 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001933/0.03644, allocations: 1.025 MB / 270 MB, free: 4.008 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000101/0.03654, allocations: 99.05 kB / 270.1 MB, free: 3.91 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002392/0.03678, allocations: 140.3 kB / 270.2 MB, free: 3.773 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003645/0.04042, allocations: 2.037 MB / 272.3 MB, free: 1.668 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.016e-05/0.04045, allocations: 3.938 kB / 272.3 MB, free: 1.664 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001478/0.0406, allocations: 56 kB / 272.3 MB, free: 1.609 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.268e-05/0.04066, allocations: 49.98 kB / 272.4 MB, free: 1.562 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003146/0.04381, allocations: 1.676 MB / 274 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01082/0.05463, allocations: 4.927 MB / 279 MB, free: 10.75 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002803/0.05743, allocations: 1.048 MB / 280 MB, free: 9.699 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008475/0.05828, allocations: 475.6 kB / 280.5 MB, free: 9.227 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002621/0.0609, allocations: 1.245 MB / 281.7 MB, free: 7.957 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.359e-05/0.06095, allocations: 46.5 kB / 281.8 MB, free: 7.902 MB / 266.7 MB Notification: Performance of pre-optimization done (n=53): time 2.325e-06/0.06095, allocations: 4 kB / 281.8 MB, free: 7.898 MB / 266.7 MB Notification: Performance of matching and sorting (n=53): time 0.004021/0.06497, allocations: 1.344 MB / 283.1 MB, free: 6.543 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.334e-05/0.06505, allocations: 89.05 kB / 283.2 MB, free: 6.438 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00164/0.06669, allocations: 1.005 MB / 284.2 MB, free: 5.422 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 7.195e-05/0.06676, allocations: 41.7 kB / 284.3 MB, free: 5.375 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006353/0.0674, allocations: 0.6909 MB / 284.9 MB, free: 4.676 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000195/0.0676, allocations: 198.3 kB / 285.1 MB, free: 4.48 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002384/0.06783, allocations: 122.3 kB / 285.3 MB, free: 4.355 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002063/0.06804, allocations: 337.9 kB / 285.6 MB, free: 4.02 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007022/0.06874, allocations: 361 kB / 285.9 MB, free: 3.668 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000925/0.06967, allocations: 0.5132 MB / 286.5 MB, free: 3.082 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001693/0.07136, allocations: 0.8672 MB / 287.3 MB, free: 2.148 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.816e-06/0.07137, allocations: 4 kB / 287.3 MB, free: 2.145 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002069/0.07344, allocations: 1.041 MB / 288.4 MB, free: 1.098 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/0.07346, allocations: 11.98 kB / 288.4 MB, free: 1.086 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.07348, allocations: 7.938 kB / 288.4 MB, free: 1.078 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.888e-05/0.0735, allocations: 8 kB / 288.4 MB, free: 1.07 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008322/0.07434, allocations: 179.7 kB / 288.6 MB, free: 0.8945 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.664e-05/0.07435, allocations: 8 kB / 288.6 MB, free: 0.8867 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006078/0.07496, allocations: 95.58 kB / 288.7 MB, free: 0.793 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.084e-05/0.07502, allocations: 27.98 kB / 288.7 MB, free: 0.7656 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.0009524/0.07597, allocations: 0.5286 MB / 289.2 MB, free: 232 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002216/0.0762, allocations: 107.4 kB / 289.3 MB, free: 124 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001575/0.07777, allocations: 0.6732 MB / 290 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.245e-05/0.07778, allocations: 8 kB / 290 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.07779, allocations: 0 / 290 MB, free: 15.43 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.0778, allocations: 7.984 kB / 290 MB, free: 15.42 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002597/0.0804, allocations: 1.36 MB / 291.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.0804, allocations: 0 / 291.4 MB, free: 14.01 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005138/0.08092, allocations: 87.88 kB / 291.5 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006637/0.08158, allocations: 188.2 kB / 291.7 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.247e-05/0.08164, allocations: 23.98 kB / 291.7 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00371/0.08535, allocations: 2.702 MB / 294.4 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.08535, allocations: 0 / 294.4 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002743/0.0881, allocations: 1.499 MB / 295.9 MB, free: 9.395 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002825/0.08838, allocations: 119.3 kB / 296 MB, free: 9.277 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.08855, allocations: 19.98 kB / 296 MB, free: 9.258 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006321/0.08918, allocations: 55.94 kB / 296.1 MB, free: 9.203 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001602/0.08934, allocations: 59.83 kB / 296.1 MB, free: 9.145 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.295e-05/0.08939, allocations: 16 kB / 296.1 MB, free: 9.129 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001233/0.09063, allocations: 0.7137 MB / 296.9 MB, free: 8.422 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.09063, allocations: 0 / 296.9 MB, free: 8.422 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001265/0.09189, allocations: 362.9 kB / 297.2 MB, free: 8.066 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.0003073/0.0922, allocations: 135 kB / 297.3 MB, free: 7.926 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00158/0.09378, allocations: 0.7535 MB / 298.1 MB, free: 7.168 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 6.732e-06/0.09378, allocations: 4 kB / 298.1 MB, free: 7.164 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001225/0.09501, allocations: 0.581 MB / 298.7 MB, free: 6.574 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.09611, allocations: 167.9 kB / 298.8 MB, free: 6.41 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006391/0.1025, allocations: 2.736 MB / 301.6 MB, free: 3.617 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001909/0.1044, allocations: 0.9129 MB / 302.5 MB, free: 2.672 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0009892/0.1054, allocations: 234.5 kB / 302.7 MB, free: 2.438 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003375/0.1057, allocations: 60.48 kB / 302.8 MB, free: 2.379 MB / 282.7 MB Notification: Performance of SimCode: time 1.943e-06/0.1057, allocations: 0 / 302.8 MB, free: 2.379 MB / 282.7 MB Notification: Performance of Templates: time 0.02668/0.1324, allocations: 11.42 MB / 314.2 MB, free: 7.004 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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance.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: 4.870023595984094]