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.0013/0.0013, allocations: 84.19 kB / 22 MB, free: 5.18 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.001333/0.001333, allocations: 165.7 kB / 25.25 MB, free: 3.02 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.28/1.28, allocations: 158.6 MB / 187 MB, free: 6.242 MB / 174.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: 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: 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.001847/0.001847, allocations: 63.92 kB / 299.4 MB, free: 6.844 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2096/0.2115, allocations: 49.13 MB / 348.5 MB, free: 15.51 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.006012/0.2175, allocations: 4.164 MB / 352.7 MB, free: 11.32 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003259/0.2208, allocations: 1.655 MB / 354.3 MB, free: 9.66 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004941/0.2213, allocations: 27.81 kB / 354.4 MB, free: 9.633 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006537/0.2219, allocations: 266.3 kB / 354.6 MB, free: 9.371 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001566/0.2235, allocations: 0.6452 MB / 355.3 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005137/0.224, allocations: 227.5 kB / 355.5 MB, free: 8.5 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002094/0.2261, allocations: 1.891 MB / 357.4 MB, free: 6.602 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008516/0.2269, allocations: 0.6442 MB / 358 MB, free: 5.918 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007883/0.2277, allocations: 0.8138 MB / 358.8 MB, free: 5.102 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001288/0.229, allocations: 1.012 MB / 359.8 MB, free: 4.086 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002533/0.2293, allocations: 188 kB / 360 MB, free: 3.902 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005404/0.2298, allocations: 299.9 kB / 360.3 MB, free: 3.609 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005134/0.2303, allocations: 0.5414 MB / 360.9 MB, free: 3.066 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008508/0.2312, allocations: 0.7311 MB / 361.6 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002704/0.2339, allocations: 2.587 MB / 364.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2339, allocations: 0 / 364.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.2339, allocations: 0 / 364.2 MB, free: 15.74 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.094e-05/0.2339, allocations: 4 kB / 364.2 MB, free: 15.73 MB / 334.1 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.00468/0.2386, allocations: 2.141 MB / 366.3 MB, free: 13.56 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.2386, allocations: 11.98 kB / 366.3 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001805/0.2404, allocations: 371.6 kB / 366.7 MB, free: 13.18 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001793/0.2422, allocations: 1.01 MB / 367.7 MB, free: 12.14 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.861e-05/0.2423, allocations: 103 kB / 367.8 MB, free: 12.04 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002133/0.2425, allocations: 140 kB / 367.9 MB, free: 11.91 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003234/0.2457, allocations: 2.041 MB / 370 MB, free: 9.797 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.879e-05/0.2458, allocations: 0 / 370 MB, free: 9.797 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001309/0.2459, allocations: 52 kB / 370 MB, free: 9.746 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.425e-05/0.246, allocations: 50 kB / 370.1 MB, free: 9.699 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003167/0.2491, allocations: 1.684 MB / 371.8 MB, free: 8.012 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008776/0.2579, allocations: 4.845 MB / 376.6 MB, free: 2.957 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00258/0.2605, allocations: 1.044 MB / 377.7 MB, free: 1.895 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007961/0.2613, allocations: 479.4 kB / 378.1 MB, free: 1.422 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002276/0.2636, allocations: 1.237 MB / 379.4 MB, free: 168 kB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.844e-05/0.2636, allocations: 42.56 kB / 379.4 MB, free: 116 kB / 334.1 MB Notification: Performance of pre-optimization done (n=53): time 2.054e-06/0.2636, allocations: 0 / 379.4 MB, free: 116 kB / 334.1 MB Notification: Performance of matching and sorting (n=53): time 0.003327/0.2669, allocations: 1.328 MB / 380.7 MB, free: 14.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.262e-05/0.267, allocations: 81.11 kB / 380.8 MB, free: 14.67 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001359/0.2684, allocations: 1.012 MB / 381.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.395e-05/0.2684, allocations: 45.64 kB / 381.9 MB, free: 13.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000561/0.269, allocations: 0.6986 MB / 382.6 MB, free: 12.89 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001775/0.2692, allocations: 198.3 kB / 382.8 MB, free: 12.7 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002051/0.2694, allocations: 126.3 kB / 382.9 MB, free: 12.57 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001617/0.2695, allocations: 330 kB / 383.2 MB, free: 12.24 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000648/0.2702, allocations: 357 kB / 383.6 MB, free: 11.89 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007969/0.271, allocations: 0.5248 MB / 384.1 MB, free: 11.3 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.2724, allocations: 0.8671 MB / 385 MB, free: 10.36 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.2724, allocations: 0 / 385 MB, free: 10.36 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001768/0.2742, allocations: 1.018 MB / 386 MB, free: 9.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.2742, allocations: 8 kB / 386 MB, free: 9.332 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.2742, allocations: 4 kB / 386 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.233e-05/0.2742, allocations: 12 kB / 386 MB, free: 9.316 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007814/0.275, allocations: 179.7 kB / 386.2 MB, free: 9.141 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.099e-05/0.275, allocations: 15.92 kB / 386.2 MB, free: 9.125 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005153/0.2755, allocations: 87.61 kB / 386.3 MB, free: 9.039 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.768e-05/0.2756, allocations: 31.98 kB / 386.3 MB, free: 9.008 MB / 350.1 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.0007564/0.2764, allocations: 0.5229 MB / 386.8 MB, free: 8.477 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.2765, allocations: 95.42 kB / 386.9 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001354/0.2779, allocations: 0.6771 MB / 387.6 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.2779, allocations: 19.92 kB / 387.6 MB, free: 7.672 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.847e-06/0.2779, allocations: 4 kB / 387.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.051e-06/0.2779, allocations: 0 / 387.6 MB, free: 7.668 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002281/0.2802, allocations: 1.344 MB / 389 MB, free: 6.277 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.856e-06/0.2802, allocations: 7.938 kB / 389 MB, free: 6.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004734/0.2807, allocations: 95.86 kB / 389.1 MB, free: 6.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004366/0.2811, allocations: 153.7 kB / 389.2 MB, free: 6.023 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.39e-05/0.2811, allocations: 12 kB / 389.2 MB, free: 6.012 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003379/0.2845, allocations: 2.684 MB / 391.9 MB, free: 3.227 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.2845, allocations: 7.969 kB / 391.9 MB, free: 3.219 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002395/0.2869, allocations: 1.48 MB / 393.4 MB, free: 1.707 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002379/0.2872, allocations: 115.3 kB / 393.5 MB, free: 1.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001014/0.2873, allocations: 19.98 kB / 393.5 MB, free: 1.574 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005408/0.2878, allocations: 55.94 kB / 393.6 MB, free: 1.52 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.2879, allocations: 63.83 kB / 393.6 MB, free: 1.457 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-05/0.288, allocations: 16 kB / 393.7 MB, free: 1.441 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009667/0.289, allocations: 0.7098 MB / 394.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.289, allocations: 0 / 394.4 MB, free: 0.7383 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0009682/0.2899, allocations: 366.8 kB / 394.7 MB, free: 388 kB / 350.1 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.0002353/0.2902, allocations: 139.3 kB / 394.9 MB, free: 240 kB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001403/0.2916, allocations: 0.7534 MB / 395.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.749e-06/0.2916, allocations: 4 kB / 395.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001114/0.2927, allocations: 0.5747 MB / 396.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008944/0.2936, allocations: 163.5 kB / 396.4 MB, free: 14.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00427/0.2979, allocations: 2.8 MB / 399.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001019/0.2989, allocations: 0.9011 MB / 400.1 MB, free: 10.94 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0005687/0.2994, allocations: 242.5 kB / 400.3 MB, free: 10.7 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001657/0.2996, allocations: 60.44 kB / 400.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.2996, allocations: 0 / 400.4 MB, free: 10.64 MB / 366.1 MB Notification: Performance of Templates: time 0.02164/0.3212, allocations: 11.43 MB / 411.8 MB, free: 15.19 MB / 382.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins1/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.553870558971539]