Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.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.Electrical.Machines.Examples.Transformers.AsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|transformer.l2sigma.inductor.1..i",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 108.4 kB / 18.36 MB, free: 4.77 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.002069/0.00207, allocations: 191 kB / 19.29 MB, free: 3.848 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.515/1.515, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001194/0.001194, allocations: 51.92 kB / 282.1 MB, free: 2.457 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08987/0.09108, allocations: 46.63 MB / 328.7 MB, free: 3.75 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad): time 0.007171/0.0983, allocations: 5.848 MB / 334.6 MB, free: 13.86 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.003972/0.1023, allocations: 2.12 MB / 336.7 MB, free: 11.73 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005562/0.1029, allocations: 31.81 kB / 336.7 MB, free: 11.7 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000906/0.1038, allocations: 397.4 kB / 337.1 MB, free: 11.31 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001348/0.1052, allocations: 0.5476 MB / 337.7 MB, free: 10.76 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004645/0.1057, allocations: 231.8 kB / 337.9 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002218/0.1079, allocations: 2.284 MB / 340.2 MB, free: 8.242 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001941/0.1099, allocations: 1.899 MB / 342.1 MB, free: 6.305 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.1117, allocations: 1.046 MB / 343.1 MB, free: 5.266 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.1131, allocations: 1.218 MB / 344.3 MB, free: 4.043 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003335/0.1135, allocations: 288 kB / 344.6 MB, free: 3.762 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007297/0.1142, allocations: 371.9 kB / 345 MB, free: 3.398 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005914/0.1148, allocations: 0.7012 MB / 345.7 MB, free: 2.695 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001228/0.116, allocations: 1.229 MB / 346.9 MB, free: 1.461 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003213/0.1193, allocations: 3.77 MB / 350.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.1193, allocations: 4 kB / 350.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.604e-06/0.1193, allocations: 0 / 350.7 MB, free: 13.68 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.69e-05/0.1194, allocations: 0 / 350.7 MB, free: 13.68 MB / 302.1 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.004768/0.1242, allocations: 2.373 MB / 353.1 MB, free: 11.25 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/0.1242, allocations: 15.89 kB / 353.1 MB, free: 11.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006407/0.1249, allocations: 246.4 kB / 353.3 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002228/0.1271, allocations: 1.24 MB / 354.6 MB, free: 9.703 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000103/0.1272, allocations: 131.5 kB / 354.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002598/0.1275, allocations: 172 kB / 354.9 MB, free: 9.406 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003822/0.1313, allocations: 2.551 MB / 357.4 MB, free: 6.832 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.037e-05/0.1314, allocations: 0 / 357.4 MB, free: 6.832 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001614/0.1315, allocations: 79.98 kB / 357.5 MB, free: 6.754 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001089/0.1316, allocations: 95.58 kB / 357.6 MB, free: 6.66 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003331/0.135, allocations: 2.103 MB / 359.7 MB, free: 4.555 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01075/0.1457, allocations: 7.367 MB / 367.1 MB, free: 12.94 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001426/0.1472, allocations: 1.255 MB / 368.3 MB, free: 11.55 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006993/0.1479, allocations: 483 kB / 368.8 MB, free: 11.07 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002099/0.1482, allocations: 117.6 kB / 368.9 MB, free: 10.94 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.1482, allocations: 42.94 kB / 368.9 MB, free: 10.89 MB / 318.1 MB Notification: Performance of pre-optimization done (n=52): time 2.294e-06/0.1482, allocations: 0 / 368.9 MB, free: 10.89 MB / 318.1 MB Notification: Performance of matching and sorting (n=53): time 0.003961/0.1522, allocations: 2.265 MB / 371.2 MB, free: 8.543 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.312e-05/0.1522, allocations: 81.55 kB / 371.3 MB, free: 8.445 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002012/0.1543, allocations: 1.512 MB / 372.8 MB, free: 6.926 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 5.155e-05/0.1543, allocations: 37.7 kB / 372.8 MB, free: 6.883 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007286/0.1551, allocations: 0.9672 MB / 373.8 MB, free: 5.902 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001774/0.1553, allocations: 197.4 kB / 374 MB, free: 5.707 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003357/0.1556, allocations: 242.5 kB / 374.2 MB, free: 5.461 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001474/0.1558, allocations: 361.9 kB / 374.6 MB, free: 5.102 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006634/0.1564, allocations: 454.3 kB / 375 MB, free: 4.66 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/0.1576, allocations: 1.09 MB / 376.1 MB, free: 3.25 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002087/0.1597, allocations: 1.623 MB / 377.7 MB, free: 1.316 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/0.1597, allocations: 8 kB / 377.7 MB, free: 1.309 MB / 318.1 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.1743/0.334, allocations: 1.676 MB / 379.4 MB, free: 50.16 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.192e-05/0.3341, allocations: 15.92 kB / 379.4 MB, free: 50.16 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.727e-05/0.3342, allocations: 22 kB / 379.5 MB, free: 50.16 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007868/0.335, allocations: 182.6 kB / 379.6 MB, free: 50.16 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009715/0.3359, allocations: 284.7 kB / 379.9 MB, free: 50.16 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00242/0.3384, allocations: 2.352 MB / 382.3 MB, free: 48.68 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.3396, allocations: 87.78 kB / 382.4 MB, free: 48.68 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.3397, allocations: 69.03 kB / 382.4 MB, free: 48.68 MB / 318.1 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.001201/0.3409, allocations: 0.7069 MB / 383.1 MB, free: 48.54 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002783/0.3412, allocations: 133.9 kB / 383.3 MB, free: 48.54 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001492/0.3427, allocations: 0.8386 MB / 384.1 MB, free: 48.21 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.3427, allocations: 6.531 kB / 384.1 MB, free: 48.21 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.061e-06/0.3427, allocations: 1.797 kB / 384.1 MB, free: 48.21 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.496e-06/0.3427, allocations: 2.719 kB / 384.1 MB, free: 48.21 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004059/0.3468, allocations: 2.495 MB / 386.6 MB, free: 47.09 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.3468, allocations: 12.48 kB / 386.6 MB, free: 47.09 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003904/0.3472, allocations: 98.45 kB / 386.7 MB, free: 47.09 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006316/0.3479, allocations: 152 kB / 386.9 MB, free: 47.05 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.784e-05/0.3479, allocations: 15.7 kB / 386.9 MB, free: 47.05 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001966/0.3499, allocations: 2.3 MB / 389.2 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.795e-06/0.3499, allocations: 4.469 kB / 389.2 MB, free: 45.18 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002224/0.3521, allocations: 1.316 MB / 390.5 MB, free: 44.59 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007979/0.353, allocations: 281 kB / 390.8 MB, free: 44.44 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/0.3531, allocations: 20.09 kB / 390.8 MB, free: 44.43 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006296/0.3538, allocations: 56.77 kB / 390.8 MB, free: 44.42 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001561/0.3539, allocations: 52.91 kB / 390.9 MB, free: 44.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.434e-05/0.354, allocations: 18.78 kB / 390.9 MB, free: 44.4 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001671/0.3557, allocations: 1.037 MB / 392 MB, free: 43.99 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3557, allocations: 0 / 392 MB, free: 43.99 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001713/0.3574, allocations: 345.3 kB / 392.3 MB, free: 43.96 MB / 318.1 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.0005013/0.3579, allocations: 188.7 kB / 392.5 MB, free: 43.86 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00237/0.3603, allocations: 1.164 MB / 393.6 MB, free: 43.38 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 7.373e-06/0.3603, allocations: 0 / 393.6 MB, free: 43.38 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000718/0.361, allocations: 0.5077 MB / 394.1 MB, free: 43.13 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001947/0.363, allocations: 363 kB / 394.5 MB, free: 43.02 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005842/0.3689, allocations: 3.197 MB / 397.7 MB, free: 41.46 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00118/0.3701, allocations: 1.698 MB / 399.4 MB, free: 40.53 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001071/0.3712, allocations: 329.3 kB / 399.7 MB, free: 40.46 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002075/0.3714, allocations: 89.92 kB / 399.8 MB, free: 40.45 MB / 318.1 MB Notification: Performance of SimCode: time 1.303e-06/0.3714, allocations: 3.781 kB / 399.8 MB, free: 40.45 MB / 318.1 MB Notification: Performance of Templates: time 0.02876/0.4002, allocations: 18.56 MB / 418.4 MB, free: 23.38 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/Transformers/AsymmetricalLoad/AsymmetricalLoad.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.AsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches