Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001245/0.001245, allocations: 108.4 kB / 18.4 MB, free: 4.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 190.1 kB / 19.34 MB, free: 3.777 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.232/1.232, allocations: 205.1 MB / 225.2 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 47.94 kB / 329.2 MB, free: 3.305 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07888/0.08007, allocations: 46.62 MB / 375.8 MB, free: 4.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance): time 0.1492/0.2293, allocations: 9.929 MB / 385.8 MB, free: 7.855 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005413/0.2348, allocations: 3.345 MB / 389.1 MB, free: 6.078 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000715/0.2355, allocations: 56.09 kB / 389.2 MB, free: 6.07 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006972/0.2425, allocations: 3.828 MB / 393 MB, free: 3.777 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002759/0.2453, allocations: 1.408 MB / 394.4 MB, free: 2.949 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.2471, allocations: 1.135 MB / 395.5 MB, free: 2.27 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.007887/0.255, allocations: 9.149 MB / 404.7 MB, free: 13.68 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02123/0.2763, allocations: 20.32 MB / 425 MB, free: 14.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005569/0.2819, allocations: 5.074 MB / 430.1 MB, free: 9.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006003/0.2879, allocations: 6.079 MB / 436.2 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001578/0.2895, allocations: 1.395 MB / 437.6 MB, free: 1.859 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002477/0.292, allocations: 1.636 MB / 439.2 MB, free: 228 kB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002191/0.2942, allocations: 2.919 MB / 442.1 MB, free: 13.3 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.005177/0.2994, allocations: 5.455 MB / 447.6 MB, free: 7.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01451/0.3139, allocations: 18.7 MB / 466.3 MB, free: 5.074 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.3139, allocations: 0 / 466.3 MB, free: 5.074 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.3139, allocations: 0 / 466.3 MB, free: 5.074 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001959/0.3141, allocations: 0 / 466.3 MB, free: 5.074 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2549 * Number of variables: 2549 Notification: Performance of Generate backend data structure: time 0.02633/0.3405, allocations: 12.26 MB / 478.5 MB, free: 8.734 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3405, allocations: 12.03 kB / 478.5 MB, free: 8.723 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04606/0.3866, allocations: 8.502 MB / 487 MB, free: 204 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008839/0.3954, allocations: 5.384 MB / 492.4 MB, free: 10.75 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004371/0.3959, allocations: 0.6623 MB / 493.1 MB, free: 10.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001428/0.3973, allocations: 0.8671 MB / 493.9 MB, free: 9.219 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0237/0.421, allocations: 15.97 MB / 0.498 GB, free: 9.203 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001637/0.4212, allocations: 11.89 kB / 0.498 GB, free: 9.191 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009793/0.4222, allocations: 376 kB / 0.4983 GB, free: 8.824 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004799/0.4227, allocations: 0.5659 MB / 0.4989 GB, free: 8.254 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02453/0.4472, allocations: 15.71 MB / 0.5142 GB, free: 8.516 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.359/0.8063, allocations: 47.71 MB / 0.5608 GB, free: 119.7 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01589/0.8222, allocations: 19.33 MB / 0.5797 GB, free: 106.5 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004149/0.8263, allocations: 3.583 MB / 0.5832 GB, free: 106.5 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003443/0.8267, allocations: 182.4 kB / 0.5834 GB, free: 106.4 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.559e-05/0.8268, allocations: 82.12 kB / 0.5835 GB, free: 106.4 MB / 478.1 MB Notification: Performance of pre-optimization done (n=468): time 6.873e-06/0.8268, allocations: 2.406 kB / 0.5835 GB, free: 106.4 MB / 478.1 MB Notification: Performance of matching and sorting (n=468): time 0.02035/0.8471, allocations: 11.54 MB / 0.5947 GB, free: 104.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.937e-05/0.8472, allocations: 128.2 kB / 0.5949 GB, free: 104 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004362/0.8516, allocations: 3.844 MB / 0.5986 GB, free: 102.7 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002598/0.8518, allocations: 100.8 kB / 0.5987 GB, free: 102.6 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001407/0.8532, allocations: 3.898 MB / 0.6025 GB, free: 99.63 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007852/0.854, allocations: 1.608 MB / 0.6041 GB, free: 98.4 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001695/0.8557, allocations: 1.47 MB / 0.6055 GB, free: 97.71 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 3.444e-05/0.8558, allocations: 305.1 kB / 0.6058 GB, free: 97.41 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00422/0.86, allocations: 3.682 MB / 0.6094 GB, free: 96.13 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004948/0.865, allocations: 6.523 MB / 0.6158 GB, free: 91.15 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009159/0.8741, allocations: 10.83 MB / 0.6264 GB, free: 83.09 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.503e-05/0.8742, allocations: 30.72 kB / 0.6264 GB, free: 83.09 MB / 478.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.0152/0.8894, allocations: 11.95 MB / 0.638 GB, free: 72.53 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.695e-05/0.8894, allocations: 44.31 kB / 0.6381 GB, free: 72.49 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.86e-05/0.8895, allocations: 103.9 kB / 0.6382 GB, free: 72.39 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004357/0.8939, allocations: 1.62 MB / 0.6398 GB, free: 70.75 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004863/0.8988, allocations: 1.665 MB / 0.6414 GB, free: 69.08 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01481/0.9136, allocations: 17.65 MB / 0.6586 GB, free: 50.62 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004596/0.9182, allocations: 0.9523 MB / 0.6596 GB, free: 49.66 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004634/0.9187, allocations: 361.5 kB / 0.6599 GB, free: 49.3 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 424 * 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 (876): * Single equations (assignments): 870 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(8,30,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004357/0.923, allocations: 3.754 MB / 0.6636 GB, free: 45.54 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005386/0.9236, allocations: 395.6 kB / 0.664 GB, free: 45.14 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01244/0.936, allocations: 8.565 MB / 0.6723 GB, free: 36.5 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.745e-05/0.9361, allocations: 27.84 kB / 0.6723 GB, free: 36.47 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.9361, allocations: 0 / 0.6723 GB, free: 36.47 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001584/0.9377, allocations: 1.108 MB / 0.6734 GB, free: 35.34 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004587/0.9382, allocations: 80 kB / 0.6735 GB, free: 35.26 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002153/0.9403, allocations: 311.6 kB / 0.6738 GB, free: 34.95 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005418/0.9409, allocations: 347.5 kB / 0.6741 GB, free: 34.61 MB / 478.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01073/0.9516, allocations: 7.852 MB / 0.6818 GB, free: 26.79 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0101/0.9617, allocations: 9.732 MB / 0.6913 GB, free: 16.91 MB / 478.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002896/0.9646, allocations: 3.037 MB / 0.6943 GB, free: 13.85 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002957/0.9676, allocations: 2.57 MB / 0.6968 GB, free: 11.28 MB / 478.1 MB Notification: Performance of Backend: time 2.6e-07/0.9676, allocations: 2.078 kB / 0.6968 GB, free: 11.28 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.009929/0.9775, allocations: 6.965 MB / 0.7036 GB, free: 4.289 MB / 478.1 MB Notification: Performance of SimCode: time 0.02178/0.9993, allocations: 15.2 MB / 0.7184 GB, free: 5.031 MB / 494.1 MB Notification: Performance of Templates: time 0.2751/1.274, allocations: 82.04 MB / 0.7985 GB, free: 158.6 MB / 0.5138 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.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/QuasiStatic/FundamentalWave/Examples/Components/MultiPhaseInductance/MultiPhaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.MultiPhaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches