Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008496/0.0008496, allocations: 182.8 kB / 16.71 MB, free: 4.965 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.204/1.204, allocations: 225.7 MB / 243.2 MB, free: 8.539 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007188/0.0007189, allocations: 98.53 kB / 294.4 MB, free: 9.539 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002317/0.0002317, allocations: 8 kB / 354.2 MB, free: 13.68 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2028, allocations: 50.41 MB / 404.6 MB, free: 31.37 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.003142/0.2059, allocations: 4.02 MB / 408.6 MB, free: 27.33 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001966/0.2079, allocations: 2.437 MB / 411 MB, free: 24.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002387/0.2082, allocations: 19.94 kB / 411.1 MB, free: 24.68 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004047/0.2086, allocations: 226.8 kB / 411.3 MB, free: 24.46 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.2098, allocations: 1.011 MB / 412.3 MB, free: 23.35 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003577/0.2101, allocations: 276.8 kB / 412.6 MB, free: 23.06 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001463/0.2116, allocations: 2.164 MB / 414.7 MB, free: 20.89 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008875/0.2125, allocations: 1.082 MB / 415.8 MB, free: 19.77 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000506/0.213, allocations: 0.6107 MB / 416.4 MB, free: 19.16 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006506/0.2137, allocations: 0.8402 MB / 417.3 MB, free: 18.31 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.2138, allocations: 84 kB / 417.3 MB, free: 18.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004201/0.2142, allocations: 207.8 kB / 417.5 MB, free: 18.03 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002275/0.2145, allocations: 410.5 kB / 417.9 MB, free: 17.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005018/0.215, allocations: 0.7866 MB / 418.7 MB, free: 16.83 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001345/0.2163, allocations: 2.419 MB / 421.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.688e-06/0.2164, allocations: 0 / 421.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2164, allocations: 0 / 421.1 MB, free: 14.4 MB / 298.7 MB Notification: Performance of Transformations before backend: time 2.239e-05/0.2164, allocations: 0 / 421.1 MB, free: 14.4 MB / 298.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.00311/0.2195, allocations: 1.912 MB / 423.1 MB, free: 12.44 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.375e-05/0.2195, allocations: 8.031 kB / 423.1 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001527/0.2211, allocations: 370.6 kB / 423.4 MB, free: 12.07 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00127/0.2224, allocations: 1.071 MB / 424.5 MB, free: 10.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.867e-05/0.2224, allocations: 103 kB / 424.6 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.2226, allocations: 136.1 kB / 424.7 MB, free: 10.72 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/0.225, allocations: 1.89 MB / 426.6 MB, free: 8.797 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.414e-05/0.2251, allocations: 0 / 426.6 MB, free: 8.797 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.2252, allocations: 56 kB / 426.7 MB, free: 8.742 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.845e-05/0.2252, allocations: 50 kB / 426.7 MB, free: 8.691 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002142/0.2274, allocations: 1.703 MB / 428.4 MB, free: 6.992 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006641/0.234, allocations: 5.602 MB / 434 MB, free: 1.168 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002557/0.2366, allocations: 2.908 MB / 436.9 MB, free: 13.8 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006899/0.2373, allocations: 0.5152 MB / 437.5 MB, free: 13.28 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001965/0.2393, allocations: 1.536 MB / 439 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.2393, allocations: 42.55 kB / 439 MB, free: 11.63 MB / 314.7 MB Notification: Performance of pre-optimization done (n=53): time 2.114e-06/0.2393, allocations: 288 / 439 MB, free: 11.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=53): time 0.002923/0.2423, allocations: 1.454 MB / 440.5 MB, free: 10.14 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.329e-05/0.2423, allocations: 85.05 kB / 440.6 MB, free: 10.04 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001142/0.2435, allocations: 1.024 MB / 441.6 MB, free: 9.008 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/0.2435, allocations: 37.7 kB / 441.6 MB, free: 8.965 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000416/0.2439, allocations: 0.6735 MB / 442.3 MB, free: 8.281 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.2441, allocations: 189.3 kB / 442.5 MB, free: 8.094 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.245e-05/0.2441, allocations: 16 kB / 442.5 MB, free: 8.078 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.2443, allocations: 334 kB / 442.8 MB, free: 7.746 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005382/0.2448, allocations: 369 kB / 443.2 MB, free: 7.383 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006168/0.2454, allocations: 0.5365 MB / 443.7 MB, free: 6.777 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00116/0.2466, allocations: 0.8906 MB / 444.6 MB, free: 5.82 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.2466, allocations: 4 kB / 444.6 MB, free: 5.816 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001519/0.2481, allocations: 1.033 MB / 445.7 MB, free: 4.777 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.2482, allocations: 4 kB / 445.7 MB, free: 4.773 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.2482, allocations: 8 kB / 445.7 MB, free: 4.766 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/0.2482, allocations: 11.94 kB / 445.7 MB, free: 4.754 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007408/0.249, allocations: 187.8 kB / 445.9 MB, free: 4.57 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.419e-05/0.249, allocations: 11.94 kB / 445.9 MB, free: 4.559 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004849/0.2495, allocations: 87.33 kB / 446 MB, free: 4.473 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.888e-05/0.2495, allocations: 28 kB / 446 MB, free: 4.445 MB / 314.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.0006735/0.2502, allocations: 0.5208 MB / 446.5 MB, free: 3.914 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001272/0.2503, allocations: 90.97 kB / 446.6 MB, free: 3.824 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001177/0.2515, allocations: 0.6991 MB / 447.3 MB, free: 3.109 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.2515, allocations: 4 kB / 447.3 MB, free: 3.105 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.706e-06/0.2516, allocations: 4 kB / 447.3 MB, free: 3.102 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.2516, allocations: 7.922 kB / 447.3 MB, free: 3.094 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002116/0.2537, allocations: 1.664 MB / 449 MB, free: 1.363 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.2537, allocations: 4.094 kB / 449 MB, free: 1.359 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004452/0.2542, allocations: 103.9 kB / 449.1 MB, free: 1.258 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000391/0.2546, allocations: 152.7 kB / 449.2 MB, free: 1.105 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.178e-05/0.2546, allocations: 19.98 kB / 449.2 MB, free: 1.086 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002637/0.2573, allocations: 2.616 MB / 451.9 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.2573, allocations: 3.938 kB / 451.9 MB, free: 14.34 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002012/0.2593, allocations: 1.507 MB / 453.4 MB, free: 12.79 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001887/0.2595, allocations: 188 kB / 453.6 MB, free: 12.59 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/0.2596, allocations: 24 kB / 453.6 MB, free: 12.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005171/0.2601, allocations: 59.94 kB / 453.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001259/0.2603, allocations: 63.84 kB / 453.7 MB, free: 12.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.718e-05/0.2603, allocations: 16 kB / 453.7 MB, free: 12.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008239/0.2611, allocations: 0.7254 MB / 454.4 MB, free: 11.71 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2612, allocations: 0 / 454.4 MB, free: 11.71 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008489/0.262, allocations: 358.4 kB / 454.8 MB, free: 11.36 MB / 330.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.0002271/0.2622, allocations: 148.3 kB / 454.9 MB, free: 11.2 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001196/0.2634, allocations: 0.7882 MB / 455.7 MB, free: 10.41 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2635, allocations: 12 kB / 455.7 MB, free: 10.4 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009616/0.2644, allocations: 0.5983 MB / 456.3 MB, free: 9.789 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009349/0.2654, allocations: 179.3 kB / 456.5 MB, free: 9.617 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003903/0.2693, allocations: 3.484 MB / 460 MB, free: 6.086 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009171/0.2702, allocations: 1.503 MB / 461.5 MB, free: 4.555 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000574/0.2708, allocations: 234.7 kB / 461.7 MB, free: 4.32 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001532/0.271, allocations: 55.44 kB / 461.8 MB, free: 4.266 MB / 330.7 MB Notification: Performance of SimCode: time 6.01e-07/0.271, allocations: 0 / 461.8 MB, free: 4.266 MB / 330.7 MB Notification: Performance of Templates: time 0.01825/0.2892, allocations: 10.91 MB / 472.7 MB, free: 9.406 MB / 346.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches