Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 75.77 kB / 22.45 MB, free: 2.094 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009886/0.0009886, allocations: 158.9 kB / 25.75 MB, free: 8.949 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9283/0.9283, allocations: 158.6 MB / 187.5 MB, free: 2.953 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") translateModel(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|resistor1_3.pin_p.reference.gamma|resistor2_3.pin_p.reference.gamma",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 251.1 MB, free: 7.793 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.393e-05/1.536e-05, allocations: 10.19 kB / 251.1 MB, free: 7.781 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad): time 0.01034/0.01035, allocations: 14 MB / 265.1 MB, free: 9.711 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.007236/0.01759, allocations: 3.902 MB / 269 MB, free: 5.793 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002347/0.01993, allocations: 107.5 kB / 269.1 MB, free: 5.688 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00629/0.02622, allocations: 5.966 MB / 275.1 MB, free: 15.69 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004468/0.03069, allocations: 1.658 MB / 276.8 MB, free: 14.02 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002005/0.0327, allocations: 1.214 MB / 278 MB, free: 12.81 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006289/0.03899, allocations: 7.068 MB / 285 MB, free: 5.715 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01077/0.04976, allocations: 9.229 MB / 294.3 MB, free: 12.37 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005379/0.05514, allocations: 5.246 MB / 299.5 MB, free: 7.113 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003776/0.05892, allocations: 3.988 MB / 303.5 MB, free: 3.117 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0009777/0.05989, allocations: 0.9219 MB / 304.4 MB, free: 2.195 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.06156, allocations: 1.089 MB / 305.5 MB, free: 1.105 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001213/0.06277, allocations: 2.006 MB / 307.5 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002265/0.06504, allocations: 2.577 MB / 310.1 MB, free: 12.51 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004991/0.07003, allocations: 6.504 MB / 316.6 MB, free: 5.988 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.07004, allocations: 4 kB / 316.6 MB, free: 5.984 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.614e-06/0.07004, allocations: 0 / 316.6 MB, free: 5.984 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.598e-05/0.07008, allocations: 4 kB / 316.6 MB, free: 5.98 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: 1888 * Number of variables: 1888 Notification: Performance of Generate backend data structure: time 0.01062/0.0807, allocations: 8.971 MB / 325.6 MB, free: 12.93 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.08075, allocations: 12.03 kB / 325.6 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01839/0.09913, allocations: 6.324 MB / 331.9 MB, free: 6.586 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004824/0.104, allocations: 3.256 MB / 335.2 MB, free: 3.281 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002883/0.1042, allocations: 0.5058 MB / 335.7 MB, free: 2.773 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008249/0.1051, allocations: 0.664 MB / 336.3 MB, free: 2.109 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008988/0.1141, allocations: 6.033 MB / 342.4 MB, free: 11.99 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001057/0.1142, allocations: 7.953 kB / 342.4 MB, free: 11.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004956/0.1147, allocations: 284 kB / 342.7 MB, free: 11.71 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002717/0.1149, allocations: 382.6 kB / 343 MB, free: 11.33 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007128/0.1221, allocations: 3.447 MB / 346.5 MB, free: 7.875 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1569/0.2789, allocations: 25.01 MB / 371.5 MB, free: 62.53 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007789/0.2867, allocations: 5.369 MB / 376.9 MB, free: 62.35 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/0.2881, allocations: 0.9923 MB / 377.9 MB, free: 62.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005635/0.2937, allocations: 3.742 MB / 381.6 MB, free: 61.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.969e-05/0.2938, allocations: 61.95 kB / 381.7 MB, free: 61.18 MB / 330.7 MB Notification: Performance of pre-optimization done (n=150): time 3.517e-06/0.2938, allocations: 0 / 381.7 MB, free: 61.18 MB / 330.7 MB Notification: Performance of matching and sorting (n=150): time 0.003788/0.2976, allocations: 1.878 MB / 383.5 MB, free: 60.71 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.388e-05/0.2976, allocations: 94.86 kB / 383.6 MB, free: 60.62 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002686/0.3003, allocations: 2.602 MB / 386.2 MB, free: 59.55 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 7.071e-05/0.3004, allocations: 51.95 kB / 386.3 MB, free: 59.5 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00135/0.3017, allocations: 3.423 MB / 389.7 MB, free: 57.45 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003227/0.302, allocations: 0.58 MB / 390.3 MB, free: 56.99 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008891/0.3029, allocations: 0.9006 MB / 391.2 MB, free: 56.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 4.148e-05/0.303, allocations: 476.8 kB / 391.7 MB, free: 55.69 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/0.304, allocations: 0.5389 MB / 392.2 MB, free: 55.25 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/0.3058, allocations: 3.216 MB / 395.4 MB, free: 51.02 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003152/0.3089, allocations: 4.042 MB / 399.4 MB, free: 46.05 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.925e-05/0.3089, allocations: 20 kB / 399.5 MB, free: 46.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=502) (initialization): time 0.004848/0.3138, allocations: 3.412 MB / 402.9 MB, free: 43 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.263e-05/0.3138, allocations: 32 kB / 402.9 MB, free: 42.97 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-05/0.3139, allocations: 60 kB / 403 MB, free: 42.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007525/0.3147, allocations: 329.6 kB / 403.3 MB, free: 42.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002024/0.3167, allocations: 0.8823 MB / 404.2 MB, free: 41.78 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003064/0.3197, allocations: 5.249 MB / 409.4 MB, free: 36.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001989/0.3217, allocations: 0.5462 MB / 410 MB, free: 35.84 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000213/0.322, allocations: 212 kB / 410.2 MB, free: 35.63 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 278 * 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 (474): * Single equations (assignments): 472 * 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.001285/0.3232, allocations: 430 kB / 410.6 MB, free: 35.27 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002907/0.3235, allocations: 286.4 kB / 410.9 MB, free: 34.99 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002158/0.3257, allocations: 1.467 MB / 412.3 MB, free: 33.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.3257, allocations: 16 kB / 412.4 MB, free: 33.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.3257, allocations: 7.984 kB / 412.4 MB, free: 33.5 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.191e-05/0.3257, allocations: 3.984 kB / 412.4 MB, free: 33.49 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004472/0.3302, allocations: 4.65 MB / 417 MB, free: 28.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.109e-06/0.3302, allocations: 3.562 kB / 417 MB, free: 28.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005434/0.3307, allocations: 259.2 kB / 417.3 MB, free: 28.58 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004534/0.3312, allocations: 249 kB / 417.5 MB, free: 28.33 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.866e-05/0.3312, allocations: 35.98 kB / 417.6 MB, free: 28.29 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002225/0.3335, allocations: 5.131 MB / 422.7 MB, free: 22.95 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.3335, allocations: 4 kB / 422.7 MB, free: 22.95 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001896/0.3354, allocations: 1.895 MB / 424.6 MB, free: 21.03 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003694/0.3357, allocations: 385.9 kB / 425 MB, free: 20.65 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001575/0.3359, allocations: 31.94 kB / 425 MB, free: 20.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005251/0.3364, allocations: 91.91 kB / 425.1 MB, free: 20.53 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.3366, allocations: 112.8 kB / 425.2 MB, free: 20.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.909e-05/0.3366, allocations: 47.98 kB / 425.2 MB, free: 20.38 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000995/0.3376, allocations: 1.151 MB / 426.4 MB, free: 19.21 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3376, allocations: 4 kB / 426.4 MB, free: 19.21 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00263/0.3402, allocations: 1.545 MB / 427.9 MB, free: 17.66 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (voltageSource1.plug_p.reference.gamma,voltageSource2.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 (134): * Single equations (assignments): 132 * 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 {(1,5,100.0%), (2,22,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002642/0.3405, allocations: 168.7 kB / 428.1 MB, free: 17.5 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002615/0.3431, allocations: 2.443 MB / 430.5 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.3431, allocations: 4 kB / 430.5 MB, free: 15.2 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007317/0.3439, allocations: 0.981 MB / 431.5 MB, free: 14.2 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001255/0.3451, allocations: 0.5103 MB / 432 MB, free: 13.7 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008579/0.3537, allocations: 8.748 MB / 440.8 MB, free: 4.895 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009366/0.3546, allocations: 1.612 MB / 442.4 MB, free: 3.258 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001552/0.3562, allocations: 1.13 MB / 443.5 MB, free: 2.121 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003021/0.3565, allocations: 180.5 kB / 443.7 MB, free: 1.945 MB / 330.7 MB Notification: Performance of SimCode: time 1.974e-06/0.3565, allocations: 0 / 443.7 MB, free: 1.945 MB / 330.7 MB Notification: Performance of Templates: time 0.03834/0.3948, allocations: 29.55 MB / 473.3 MB, free: 4.488 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.UnsymmetricalLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/UnsymmetricalLoad/UnsymmetricalLoad.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.513178772991523]