Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") translateModel(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001432/0.001432, allocations: 200 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.265/1.265, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007678/0.0007679, allocations: 99.62 kB / 299.9 MB, free: 5.344 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002068/0.0002068, allocations: 4 kB / 360.6 MB, free: 8.477 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.2004, allocations: 51.42 MB / 412.1 MB, free: 25.91 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.006339/0.2068, allocations: 5.171 MB / 417.2 MB, free: 20.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004327/0.2111, allocations: 2.472 MB / 419.7 MB, free: 18.14 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007899/0.212, allocations: 35.81 kB / 419.7 MB, free: 18.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.2131, allocations: 331.8 kB / 420.1 MB, free: 17.78 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001663/0.2148, allocations: 0.5091 MB / 420.6 MB, free: 17.27 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004802/0.2153, allocations: 187.9 kB / 420.8 MB, free: 17.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002173/0.2174, allocations: 2.51 MB / 423.3 MB, free: 14.56 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00198/0.2194, allocations: 1.845 MB / 425.1 MB, free: 12.65 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002342/0.2218, allocations: 0.8012 MB / 425.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001476/0.2233, allocations: 0.9957 MB / 426.9 MB, free: 10.85 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004576/0.2238, allocations: 120 kB / 427 MB, free: 10.73 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007249/0.2245, allocations: 219.8 kB / 427.2 MB, free: 10.52 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005146/0.225, allocations: 0.5099 MB / 427.7 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001269/0.2263, allocations: 1.032 MB / 428.8 MB, free: 8.965 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002476/0.2288, allocations: 3.558 MB / 432.3 MB, free: 5.395 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.2288, allocations: 4 kB / 432.3 MB, free: 5.391 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.2288, allocations: 0 / 432.3 MB, free: 5.391 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001036/0.2289, allocations: 0 / 432.3 MB, free: 5.391 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: 474 * Number of variables: 474 Notification: Performance of Generate backend data structure: time 0.003592/0.2325, allocations: 2.026 MB / 434.4 MB, free: 3.309 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.2326, allocations: 8.031 kB / 434.4 MB, free: 3.301 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001082/0.2337, allocations: 294.2 kB / 434.7 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002098/0.2358, allocations: 1.302 MB / 436 MB, free: 1.664 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.415e-05/0.2359, allocations: 139.5 kB / 436.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002727/0.2361, allocations: 168 kB / 436.3 MB, free: 1.363 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00384/0.24, allocations: 2.539 MB / 438.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.213e-05/0.24, allocations: 3.984 kB / 438.8 MB, free: 14.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001614/0.2402, allocations: 75.98 kB / 438.9 MB, free: 14.72 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001039/0.2403, allocations: 103.6 kB / 439 MB, free: 14.62 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003489/0.2438, allocations: 2.11 MB / 441.1 MB, free: 12.51 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01099/0.2548, allocations: 7.492 MB / 448.6 MB, free: 4.766 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001472/0.2563, allocations: 1.27 MB / 449.9 MB, free: 3.359 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007109/0.2571, allocations: 491.3 kB / 450.3 MB, free: 2.871 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002142/0.2573, allocations: 113.5 kB / 450.4 MB, free: 2.742 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.296e-05/0.2573, allocations: 42.94 kB / 450.5 MB, free: 2.691 MB / 314.7 MB Notification: Performance of pre-optimization done (n=52): time 2.525e-06/0.2573, allocations: 0 / 450.5 MB, free: 2.691 MB / 314.7 MB Notification: Performance of matching and sorting (n=53): time 0.004118/0.2615, allocations: 2.288 MB / 452.8 MB, free: 332 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.2615, allocations: 85.53 kB / 452.9 MB, free: 228 kB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002166/0.2637, allocations: 1.496 MB / 454.4 MB, free: 14.71 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.554e-05/0.2638, allocations: 37.7 kB / 454.4 MB, free: 14.67 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006735/0.2645, allocations: 0.9789 MB / 455.4 MB, free: 13.68 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/0.2646, allocations: 197.3 kB / 455.6 MB, free: 13.49 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.511e-05/0.2647, allocations: 24 kB / 455.6 MB, free: 13.46 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001372/0.2648, allocations: 357.9 kB / 455.9 MB, free: 13.11 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006704/0.2655, allocations: 454.3 kB / 456.4 MB, free: 12.66 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.2665, allocations: 1.094 MB / 457.5 MB, free: 11.26 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001731/0.2682, allocations: 1.623 MB / 459.1 MB, free: 9.324 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.2683, allocations: 8 kB / 459.1 MB, free: 9.316 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.002452/0.2707, allocations: 1.691 MB / 460.8 MB, free: 7.613 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.431e-05/0.2707, allocations: 12 kB / 460.8 MB, free: 7.602 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.017e-05/0.2708, allocations: 24 kB / 460.8 MB, free: 7.578 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007418/0.2715, allocations: 172.8 kB / 461 MB, free: 7.406 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000852/0.2724, allocations: 291.5 kB / 461.3 MB, free: 7.121 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002173/0.2746, allocations: 2.162 MB / 463.4 MB, free: 4.816 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008953/0.2755, allocations: 87.78 kB / 463.5 MB, free: 4.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.449e-05/0.2756, allocations: 67.94 kB / 463.6 MB, free: 4.664 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (146): * Single equations (assignments): 145 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00106/0.2767, allocations: 0.7145 MB / 464.3 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002018/0.2769, allocations: 138.3 kB / 464.5 MB, free: 3.805 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001359/0.2782, allocations: 0.849 MB / 465.3 MB, free: 2.949 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.543e-06/0.2782, allocations: 4 kB / 465.3 MB, free: 2.945 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2783, allocations: 4 kB / 465.3 MB, free: 2.941 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.182e-06/0.2783, allocations: 3.984 kB / 465.3 MB, free: 2.938 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003471/0.2817, allocations: 2.51 MB / 467.8 MB, free: 340 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.641e-06/0.2818, allocations: 4 kB / 467.8 MB, free: 336 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000366/0.2821, allocations: 103.8 kB / 467.9 MB, free: 232 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006322/0.2828, allocations: 148.7 kB / 468.1 MB, free: 80 kB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.2828, allocations: 16 kB / 468.1 MB, free: 64 kB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001941/0.2848, allocations: 2.1 MB / 470.2 MB, free: 13.83 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2848, allocations: 4.031 kB / 470.2 MB, free: 13.82 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001806/0.2866, allocations: 1.328 MB / 471.5 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004005/0.287, allocations: 287.6 kB / 471.8 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001341/0.2872, allocations: 12 kB / 471.8 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005675/0.2877, allocations: 51.97 kB / 471.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000107/0.2878, allocations: 55.98 kB / 471.9 MB, free: 12.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.821e-05/0.2879, allocations: 20 kB / 471.9 MB, free: 12 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001299/0.2892, allocations: 1.028 MB / 473 MB, free: 10.97 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.2892, allocations: 0 / 473 MB, free: 10.97 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001106/0.2903, allocations: 348 kB / 473.3 MB, free: 10.63 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (transformer.l2sigma.inductor[1].i) * 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 (46): * Single equations (assignments): 45 * 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,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003797/0.2907, allocations: 198.8 kB / 473.5 MB, free: 10.44 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001668/0.2924, allocations: 1.168 MB / 474.7 MB, free: 9.262 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2924, allocations: 0 / 474.7 MB, free: 9.262 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007273/0.2931, allocations: 0.523 MB / 475.2 MB, free: 8.727 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001699/0.2948, allocations: 356.5 kB / 475.5 MB, free: 8.375 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004732/0.2996, allocations: 3.971 MB / 479.5 MB, free: 4.336 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/0.3009, allocations: 1.702 MB / 481.2 MB, free: 2.598 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008559/0.3017, allocations: 323.3 kB / 481.5 MB, free: 2.277 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.3019, allocations: 91.42 kB / 481.6 MB, free: 2.188 MB / 346.7 MB Notification: Performance of SimCode: time 3.41e-07/0.3019, allocations: 0 / 481.6 MB, free: 2.188 MB / 346.7 MB Notification: Performance of Templates: time 0.02808/0.33, allocations: 17.6 MB / 499.2 MB, free: 0.7969 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches