Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.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.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001061/0.001061, allocations: 108.3 kB / 16.51 MB, free: 6.707 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.0009783/0.0009783, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.31/1.31, allocations: 222.9 MB / 241.1 MB, free: 15.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001512, allocations: 44.33 kB / 300 MB, free: 6.27 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1193/0.1208, allocations: 49.44 MB / 349.4 MB, free: 4.824 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.02231/0.1431, allocations: 13.72 MB / 363.1 MB, free: 7.031 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007797/0.151, allocations: 3.773 MB / 366.9 MB, free: 3.246 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002366/0.1534, allocations: 95.75 kB / 367 MB, free: 3.152 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.1554/0.3088, allocations: 5.269 MB / 372.3 MB, free: 8.98 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004252/0.3131, allocations: 1.359 MB / 373.6 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002186/0.3153, allocations: 0.9927 MB / 374.6 MB, free: 8.945 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.006734/0.322, allocations: 6.092 MB / 380.7 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0142/0.3363, allocations: 11.48 MB / 392.2 MB, free: 3.309 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003592/0.3399, allocations: 2.982 MB / 395.2 MB, free: 2.012 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003966/0.3439, allocations: 3.788 MB / 398.9 MB, free: 0 / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002146/0.3461, allocations: 0.7798 MB / 399.7 MB, free: 15.5 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001835/0.3479, allocations: 0.8623 MB / 400.6 MB, free: 14.64 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001256/0.3492, allocations: 1.562 MB / 402.1 MB, free: 13.11 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003416/0.3526, allocations: 3.358 MB / 405.5 MB, free: 9.77 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009134/0.3617, allocations: 11.71 MB / 417.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.3618, allocations: 3.938 kB / 417.2 MB, free: 14.29 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.3618, allocations: 4 kB / 417.2 MB, free: 14.28 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001794/0.362, allocations: 4 kB / 417.2 MB, free: 14.28 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: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.01769/0.3797, allocations: 7.799 MB / 425 MB, free: 6.461 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/0.3797, allocations: 12.03 kB / 425 MB, free: 6.449 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0185/0.3982, allocations: 2.884 MB / 427.9 MB, free: 3.602 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006994/0.4052, allocations: 3.61 MB / 431.5 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003406/0.4056, allocations: 481.4 kB / 432 MB, free: 15.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001436/0.407, allocations: 0.6166 MB / 432.6 MB, free: 14.88 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01764/0.4247, allocations: 9.328 MB / 441.9 MB, free: 5.504 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001292/0.4249, allocations: 11.89 kB / 442 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006674/0.4255, allocations: 262.1 kB / 442.2 MB, free: 5.242 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002888/0.4258, allocations: 325.3 kB / 442.5 MB, free: 4.922 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01364/0.4395, allocations: 7.95 MB / 450.5 MB, free: 12.96 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03948/0.479, allocations: 28.55 MB / 479 MB, free: 15.75 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01013/0.4891, allocations: 11.7 MB / 490.7 MB, free: 2.367 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002304/0.4915, allocations: 1.633 MB / 492.4 MB, free: 0.7383 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002024/0.4917, allocations: 130.2 kB / 492.5 MB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.944e-05/0.4917, allocations: 60.56 kB / 492.6 MB, free: 0.5312 MB / 398.1 MB Notification: Performance of pre-optimization done (n=238): time 3.947e-06/0.4917, allocations: 0 / 492.6 MB, free: 0.5312 MB / 398.1 MB Notification: Performance of matching and sorting (n=238): time 0.007649/0.4994, allocations: 4.164 MB / 496.7 MB, free: 12.32 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.114e-05/0.4995, allocations: 107.1 kB / 496.8 MB, free: 12.2 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002505/0.502, allocations: 1.903 MB / 498.7 MB, free: 10.29 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001424/0.5022, allocations: 61.7 kB / 498.8 MB, free: 10.22 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001405/0.5036, allocations: 2.544 MB / 0.4896 GB, free: 7.66 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006213/0.5042, allocations: 0.8078 MB / 0.4904 GB, free: 6.859 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009001/0.5051, allocations: 0.6598 MB / 0.491 GB, free: 6.191 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 8.408e-05/0.5052, allocations: 305.1 kB / 0.4913 GB, free: 5.891 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002045/0.5072, allocations: 1.4 MB / 0.4927 GB, free: 4.488 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002848/0.5101, allocations: 2.603 MB / 0.4952 GB, free: 1.355 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004977/0.5151, allocations: 4.226 MB / 0.4993 GB, free: 12.59 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-05/0.5151, allocations: 8 kB / 0.4993 GB, free: 12.58 MB / 430.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.006686/0.5218, allocations: 4.526 MB / 0.5038 GB, free: 8.039 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.5219, allocations: 20 kB / 0.5038 GB, free: 8.02 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.939e-05/0.5219, allocations: 40 kB / 0.5038 GB, free: 7.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007628/0.5227, allocations: 311.6 kB / 0.5041 GB, free: 7.672 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002605/0.5253, allocations: 0.7722 MB / 0.5049 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004857/0.5302, allocations: 4.614 MB / 0.5094 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002041/0.5322, allocations: 420 kB / 0.5098 GB, free: 1.609 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002437/0.5325, allocations: 160 kB / 0.5099 GB, free: 1.453 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 174 * 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 (414): * Single equations (assignments): 412 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00298/0.5355, allocations: 2.19 MB / 0.5121 GB, free: 15.25 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003326/0.5358, allocations: 209.4 kB / 0.5123 GB, free: 15.05 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004984/0.5408, allocations: 3.185 MB / 0.5154 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.927e-05/0.5408, allocations: 27.94 kB / 0.5154 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.033e-05/0.5408, allocations: 11.88 kB / 0.5154 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.015e-05/0.5409, allocations: 11.95 kB / 0.5154 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1636/0.7045, allocations: 11.78 MB / 0.5269 GB, free: 138 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.221e-05/0.7046, allocations: 13.62 kB / 0.5269 GB, free: 138 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001845/0.7064, allocations: 435.9 kB / 0.5274 GB, free: 138 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007214/0.7071, allocations: 276.9 kB / 0.5276 GB, free: 138 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001506/0.7073, allocations: 67.73 kB / 0.5277 GB, free: 138 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0044/0.7117, allocations: 4.549 MB / 0.5321 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.261e-05/0.7117, allocations: 22.66 kB / 0.5322 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006216/0.718, allocations: 5.002 MB / 0.537 GB, free: 133.6 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000813/0.7188, allocations: 0.5319 MB / 0.5376 GB, free: 133.4 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002664/0.7191, allocations: 62.33 kB / 0.5376 GB, free: 133.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.7203, allocations: 129.6 kB / 0.5377 GB, free: 133.3 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003425/0.7206, allocations: 200.9 kB / 0.5379 GB, free: 133.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001481/0.7208, allocations: 83.98 kB / 0.538 GB, free: 133.2 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001753/0.7225, allocations: 1.296 MB / 0.5393 GB, free: 132.8 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.7225, allocations: 4.281 kB / 0.5393 GB, free: 132.8 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003508/0.726, allocations: 1.428 MB / 0.5407 GB, free: 132.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 62 * Number of states: 2 (voltageSource2.plug_p.reference.gamma,voltageSource1.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 (226): * Single equations (assignments): 224 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,22,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.0003646/0.7264, allocations: 222.3 kB / 0.5409 GB, free: 132.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005382/0.7318, allocations: 3.629 MB / 0.5444 GB, free: 130.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.498e-06/0.7318, allocations: 3.969 kB / 0.5444 GB, free: 130.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00216/0.734, allocations: 1.685 MB / 0.5461 GB, free: 130 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002656/0.7367, allocations: 0.4895 MB / 0.5466 GB, free: 129.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01352/0.7502, allocations: 12.59 MB / 0.5589 GB, free: 122.6 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002841/0.7531, allocations: 4.004 MB / 0.5628 GB, free: 120.9 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002872/0.756, allocations: 1.193 MB / 0.5639 GB, free: 120.8 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000514/0.7565, allocations: 195 kB / 0.5641 GB, free: 120.8 MB / 446.1 MB Notification: Performance of SimCode: time 6.31e-07/0.7565, allocations: 0 / 0.5641 GB, free: 120.8 MB / 446.1 MB Notification: Performance of Templates: time 0.03997/0.7965, allocations: 29.89 MB / 0.5933 GB, free: 96.79 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.sim & ./Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/QuasiStatic/Polyphase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches