Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.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 4.0.0+maint.om/package.mo", uses=false) 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.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,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_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001289, allocations: 114.2 kB / 17.75 MB, free: 5.355 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.00112/0.00112, allocations: 185.4 kB / 18.68 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009501/0.0009501, allocations: 51.91 kB / 352 MB, free: 3.266 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2131/0.214, allocations: 49.43 MB / 401.4 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.005276/0.2193, allocations: 4.666 MB / 406.1 MB, free: 4.207 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002393/0.2218, allocations: 1.678 MB / 407.8 MB, free: 2.523 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002422/0.222, allocations: 31.81 kB / 407.8 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005376/0.2226, allocations: 262.3 kB / 408 MB, free: 2.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001383/0.224, allocations: 0.7036 MB / 408.7 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000432/0.2244, allocations: 227.4 kB / 409 MB, free: 1.305 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.00179/0.2262, allocations: 1.883 MB / 410.8 MB, free: 15.41 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001256/0.2275, allocations: 1.281 MB / 412.1 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006842/0.2282, allocations: 0.7942 MB / 412.9 MB, free: 13.3 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001007/0.2292, allocations: 0.9808 MB / 413.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002286/0.2294, allocations: 188 kB / 414.1 MB, free: 12.13 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005064/0.2299, allocations: 307.9 kB / 414.4 MB, free: 11.83 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004149/0.2304, allocations: 0.5414 MB / 414.9 MB, free: 11.29 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007633/0.2311, allocations: 0.8943 MB / 415.8 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001971/0.2331, allocations: 2.571 MB / 418.4 MB, free: 7.812 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2331, allocations: 0 / 418.4 MB, free: 7.812 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.2331, allocations: 0 / 418.4 MB, free: 7.812 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.673e-05/0.2332, allocations: 0 / 418.4 MB, free: 7.812 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.004194/0.2374, allocations: 2.179 MB / 420.6 MB, free: 5.578 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.713e-05/0.2374, allocations: 8.031 kB / 420.6 MB, free: 5.57 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001809/0.2392, allocations: 374.6 kB / 420.9 MB, free: 5.203 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00177/0.241, allocations: 1.091 MB / 422 MB, free: 4.066 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.46e-05/0.2411, allocations: 95.05 kB / 422.1 MB, free: 3.973 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000194/0.2413, allocations: 136.1 kB / 422.3 MB, free: 3.84 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002843/0.2441, allocations: 1.898 MB / 424.2 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.34e-05/0.2442, allocations: 0 / 424.2 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001303/0.2443, allocations: 52 kB / 424.2 MB, free: 1.859 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.72e-05/0.2443, allocations: 49.98 kB / 424.3 MB, free: 1.812 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002581/0.2469, allocations: 1.688 MB / 425.9 MB, free: 128 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007993/0.2549, allocations: 5.493 MB / 431.4 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002999/0.2579, allocations: 2.897 MB / 434.3 MB, free: 7.059 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007172/0.2587, allocations: 0.4989 MB / 434.8 MB, free: 6.555 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002195/0.2609, allocations: 1.529 MB / 436.4 MB, free: 4.961 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.2609, allocations: 42.56 kB / 436.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=53): time 2.024e-06/0.2609, allocations: 0 / 436.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=53): time 0.003051/0.264, allocations: 1.403 MB / 437.8 MB, free: 3.477 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/0.264, allocations: 89.05 kB / 437.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001153/0.2652, allocations: 1.032 MB / 438.9 MB, free: 2.328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.552e-05/0.2653, allocations: 37.7 kB / 439 MB, free: 2.285 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004134/0.2657, allocations: 0.6813 MB / 439.6 MB, free: 1.594 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.2658, allocations: 189.3 kB / 439.8 MB, free: 1.406 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001894/0.266, allocations: 122.2 kB / 440 MB, free: 1.281 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001125/0.2661, allocations: 334 kB / 440.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005681/0.2667, allocations: 357.3 kB / 440.6 MB, free: 0.6016 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000653/0.2674, allocations: 0.5146 MB / 441.1 MB, free: 16 kB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00124/0.2686, allocations: 0.879 MB / 442 MB, free: 15.07 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.2686, allocations: 3.938 kB / 442 MB, free: 15.06 MB / 366.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001544/0.2702, allocations: 1.005 MB / 443 MB, free: 14.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.2702, allocations: 8 kB / 443 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.2702, allocations: 8 kB / 443 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.2703, allocations: 11.94 kB / 443.1 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007543/0.271, allocations: 183.9 kB / 443.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.496e-05/0.271, allocations: 15.94 kB / 443.3 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004911/0.2715, allocations: 87.23 kB / 443.3 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.541e-05/0.2716, allocations: 24 kB / 443.4 MB, free: 13.72 MB / 366.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.0006425/0.2722, allocations: 0.5209 MB / 443.9 MB, free: 13.19 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001456/0.2724, allocations: 86.97 kB / 444 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001222/0.2736, allocations: 0.6978 MB / 444.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.2737, allocations: 3.984 kB / 444.7 MB, free: 12.39 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2737, allocations: 7.938 kB / 444.7 MB, free: 12.38 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002327/0.2739, allocations: 187.9 kB / 444.9 MB, free: 12.18 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.274, allocations: 16 kB / 444.9 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005333/0.2746, allocations: 55.77 kB / 444.9 MB, free: 12.11 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001267/0.2747, allocations: 63.89 kB / 445 MB, free: 12.05 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002129/0.2768, allocations: 1.128 MB / 446.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001952/0.2788, allocations: 1.444 MB / 447.6 MB, free: 9.441 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005552/0.2794, allocations: 375.5 kB / 447.9 MB, free: 9.074 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0008575/0.2802, allocations: 0.7293 MB / 448.7 MB, free: 8.352 MB / 366.1 MB Notification: Performance of Backend: time 4.61e-07/0.2803, allocations: 0 / 448.7 MB, free: 8.352 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001493/0.2817, allocations: 0.651 MB / 449.3 MB, free: 7.695 MB / 366.1 MB Notification: Performance of SimCode: time 0.004029/0.2858, allocations: 3.199 MB / 452.5 MB, free: 4.441 MB / 366.1 MB Notification: Performance of Templates: time 0.02315/0.309, allocations: 14.17 MB / 466.7 MB, free: 6.41 MB / 382.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches