Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|Ie.re|Ie.im|Im.re|Im.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.001016/0.001016, allocations: 109.9 kB / 17.06 MB, free: 6.137 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.0009859/0.0009859, allocations: 191 kB / 18 MB, free: 5.219 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.263/1.263, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009352/0.0009353, allocations: 47.92 kB / 351.3 MB, free: 3.23 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2587/0.2597, allocations: 49.43 MB / 400.7 MB, free: 8.758 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance): time 0.01032/0.27, allocations: 10 MB / 410.7 MB, free: 14.83 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006831/0.2769, allocations: 3.326 MB / 414.1 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008787/0.2778, allocations: 71.81 kB / 414.1 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007655/0.2855, allocations: 3.836 MB / 418 MB, free: 7.574 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003583/0.289, allocations: 1.508 MB / 419.5 MB, free: 6.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002102/0.2912, allocations: 1.047 MB / 420.5 MB, free: 5.02 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0088/0.3, allocations: 9.138 MB / 429.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02246/0.3224, allocations: 20.32 MB / 450 MB, free: 7.391 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006771/0.3292, allocations: 5.062 MB / 455 MB, free: 2.316 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009293/0.3386, allocations: 6.079 MB / 461.1 MB, free: 12.22 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003791/0.3424, allocations: 1.398 MB / 462.5 MB, free: 10.82 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0051/0.3475, allocations: 1.636 MB / 464.2 MB, free: 9.184 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003889/0.3514, allocations: 2.923 MB / 467.1 MB, free: 6.254 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009672/0.3611, allocations: 5.455 MB / 472.5 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02079/0.3819, allocations: 18.83 MB / 491.4 MB, free: 13.9 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.382, allocations: 0 / 491.4 MB, free: 13.9 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.382, allocations: 4 kB / 491.4 MB, free: 13.89 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0004211/0.3824, allocations: 4 kB / 491.4 MB, free: 13.89 MB / 414.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.03358/0.416, allocations: 12.26 MB / 0.4918 GB, free: 1.547 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.416, allocations: 8.031 kB / 0.4918 GB, free: 1.539 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04807/0.4641, allocations: 8.506 MB / 0.5001 GB, free: 9.012 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01528/0.4794, allocations: 5.879 MB / 0.5059 GB, free: 3.066 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007236/0.4802, allocations: 0.6623 MB / 0.5065 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003554/0.4838, allocations: 0.8632 MB / 0.5074 GB, free: 1.539 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04069/0.5245, allocations: 15.98 MB / 0.523 GB, free: 1.52 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003595/0.5249, allocations: 11.91 kB / 0.523 GB, free: 1.508 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002958/0.5279, allocations: 371.9 kB / 0.5233 GB, free: 1.145 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005825/0.5284, allocations: 0.5582 MB / 0.5239 GB, free: 0.582 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03101/0.5595, allocations: 15.72 MB / 0.5392 GB, free: 0.832 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4558/1.015, allocations: 47.72 MB / 0.5858 GB, free: 84.49 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01369/1.029, allocations: 19.34 MB / 0.6047 GB, free: 63.08 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00394/1.033, allocations: 3.594 MB / 0.6082 GB, free: 59.48 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002953/1.033, allocations: 176.2 kB / 0.6084 GB, free: 59.31 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.428e-05/1.033, allocations: 82.56 kB / 0.6085 GB, free: 59.22 MB / 462.1 MB Notification: Performance of pre-optimization done (n=468): time 6.863e-06/1.033, allocations: 0 / 0.6085 GB, free: 59.22 MB / 462.1 MB Notification: Performance of matching and sorting (n=468): time 0.0187/1.052, allocations: 11.55 MB / 0.6198 GB, free: 47.54 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.067e-05/1.052, allocations: 125.1 kB / 0.6199 GB, free: 47.4 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004625/1.057, allocations: 3.839 MB / 0.6236 GB, free: 43.55 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003032/1.057, allocations: 105.7 kB / 0.6237 GB, free: 43.44 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001535/1.059, allocations: 3.892 MB / 0.6275 GB, free: 39.54 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00102/1.06, allocations: 1.611 MB / 0.6291 GB, free: 37.94 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001729/1.061, allocations: 1.468 MB / 0.6305 GB, free: 36.46 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 4.71e-05/1.061, allocations: 305.1 kB / 0.6308 GB, free: 36.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004119/1.066, allocations: 3.688 MB / 0.6344 GB, free: 32.47 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005263/1.071, allocations: 6.522 MB / 0.6408 GB, free: 24.65 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01245/1.083, allocations: 10.83 MB / 0.6514 GB, free: 12.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-05/1.083, allocations: 28 kB / 0.6514 GB, free: 12.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=938) (initialization): time 0.0183/1.102, allocations: 11.95 MB / 0.6631 GB, free: 436 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.76e-05/1.102, allocations: 44 kB / 0.6631 GB, free: 392 kB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000154/1.102, allocations: 96 kB / 0.6632 GB, free: 296 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005035/1.107, allocations: 1.621 MB / 0.6648 GB, free: 14.65 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006233/1.113, allocations: 1.665 MB / 0.6664 GB, free: 12.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02024/1.134, allocations: 17.66 MB / 0.6837 GB, free: 10.48 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005732/1.139, allocations: 0.9522 MB / 0.6846 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001598/1.141, allocations: 360 kB / 0.6849 GB, free: 9.164 MB / 494.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.00814/1.149, allocations: 3.758 MB / 0.6886 GB, free: 5.391 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001309/1.15, allocations: 387.1 kB / 0.689 GB, free: 5.008 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01643/1.167, allocations: 8.572 MB / 0.6973 GB, free: 12.35 MB / 0.4982 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.559e-05/1.167, allocations: 48 kB / 0.6974 GB, free: 12.3 MB / 0.4982 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.024e-05/1.167, allocations: 12 kB / 0.6974 GB, free: 12.29 MB / 0.4982 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.819e-05/1.167, allocations: 23.91 kB / 0.6974 GB, free: 12.27 MB / 0.4982 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03416/1.201, allocations: 16.79 MB / 0.7138 GB, free: 11.31 MB / 0.5138 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-05/1.201, allocations: 0 / 0.7138 GB, free: 11.31 MB / 0.5138 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003675/1.205, allocations: 0.862 MB / 0.7147 GB, free: 10.45 MB / 0.5138 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004901/1.21, allocations: 1.523 MB / 0.7161 GB, free: 8.902 MB / 0.5138 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006839/1.211, allocations: 111.9 kB / 0.7163 GB, free: 8.793 MB / 0.5138 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02021/1.231, allocations: 17.45 MB / 0.7333 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.105e-06/1.231, allocations: 4 kB / 0.7333 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2794/1.51, allocations: 12.24 MB / 0.7453 GB, free: 174.5 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003011/1.513, allocations: 1.099 MB / 0.7463 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005553/1.514, allocations: 88.98 kB / 0.7464 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002125/1.516, allocations: 304.8 kB / 0.7467 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006332/1.517, allocations: 323.8 kB / 0.747 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002463/1.517, allocations: 138.9 kB / 0.7471 GB, free: 174.4 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.003062/1.52, allocations: 2.568 MB / 0.7496 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.51e-07/1.52, allocations: 3.625 kB / 0.7497 GB, free: 173.6 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.006079/1.526, allocations: 2.376 MB / 0.752 GB, free: 173.1 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (voltageSource_m.plug_p.reference.gamma,voltageSource_e.plug_p.reference.gamma) * 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 (455): * Single equations (assignments): 449 * 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 Backend phase and start with SimCode phase: time 0.0005441/1.527, allocations: 269.8 kB / 0.7522 GB, free: 172.9 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.01189/1.539, allocations: 9.381 MB / 0.7614 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.436e-06/1.539, allocations: 3.938 kB / 0.7614 GB, free: 169.2 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.005887/1.545, allocations: 4.474 MB / 0.7658 GB, free: 167.2 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003391/1.548, allocations: 0.7369 MB / 0.7665 GB, free: 166.9 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02651/1.575, allocations: 16.82 MB / 0.7829 GB, free: 154.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007715/1.582, allocations: 6.047 MB / 0.7888 GB, free: 150.1 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.007465/1.59, allocations: 3.249 MB / 0.792 GB, free: 148.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001598/1.591, allocations: 374.2 kB / 0.7923 GB, free: 147.7 MB / 0.5294 GB Notification: Performance of SimCode: time 9.11e-07/1.591, allocations: 4 kB / 0.7923 GB, free: 147.7 MB / 0.5294 GB Notification: Performance of Templates: time 0.09519/1.687, allocations: 65.56 MB / 0.8564 GB, free: 83.17 MB / 0.5294 GB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/Components/PolyphaseInductance/PolyphaseInductance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.Components.PolyphaseInductance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches