Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.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.0008059/0.0008059, allocations: 80.45 kB / 20.69 MB, free: 3.875 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.0008219/0.0008219, allocations: 165.9 kB / 23.96 MB, free: 0.6016 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.7944/0.7944, allocations: 158.6 MB / 185.7 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1285/0.1285, allocations: 32.37 MB / 270.4 MB, free: 14.96 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) 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(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") translateModel(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|I.1..re|I.1..im|I.2..re|I.2..im|I.3..re|I.3..im",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 408.1 MB, free: 1.738 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.603e-05/2.782e-05, allocations: 5.375 kB / 408.1 MB, free: 1.734 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal): time 0.01501/0.01504, allocations: 19.67 MB / 427.8 MB, free: 13.97 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01213/0.02717, allocations: 5.409 MB / 433.2 MB, free: 8.543 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005396/0.03257, allocations: 194.9 kB / 433.4 MB, free: 8.352 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01123/0.0438, allocations: 9.387 MB / 442.8 MB, free: 14.92 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008055/0.05185, allocations: 2.326 MB / 445.1 MB, free: 12.58 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004556/0.05641, allocations: 1.885 MB / 447 MB, free: 10.7 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.01342/0.06983, allocations: 15.23 MB / 462.2 MB, free: 11.41 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.2241/0.2939, allocations: 21.22 MB / 483.4 MB, free: 47.19 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01942/0.3133, allocations: 12.02 MB / 495.4 MB, free: 47.19 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01233/0.3257, allocations: 7.988 MB / 0.4916 GB, free: 46.57 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.008063/0.3337, allocations: 2.114 MB / 0.4937 GB, free: 46.57 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01004/0.3438, allocations: 2.344 MB / 0.496 GB, free: 46.52 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.007939/0.3517, allocations: 4.49 MB / 0.5004 GB, free: 44.31 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.01453/0.3662, allocations: 5.738 MB / 0.506 GB, free: 42.18 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02706/0.3933, allocations: 29.1 MB / 0.5344 GB, free: 28.68 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.3933, allocations: 2.469 kB / 0.5344 GB, free: 28.68 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.214e-06/0.3933, allocations: 0 / 0.5344 GB, free: 28.68 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0009499/0.3942, allocations: 0 / 0.5344 GB, free: 28.68 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3927 * Number of variables: 3927 Notification: Performance of Generate backend data structure: time 0.04302/0.4373, allocations: 19.03 MB / 0.553 GB, free: 14.54 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.4373, allocations: 11.12 kB / 0.553 GB, free: 14.54 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03215/0.4695, allocations: 12.75 MB / 0.5654 GB, free: 1.914 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0155/0.485, allocations: 8.11 MB / 0.5734 GB, free: 10.14 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009609/0.4859, allocations: 1.076 MB / 0.5744 GB, free: 9.07 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006094/0.492, allocations: 1.397 MB / 0.5758 GB, free: 7.688 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05495/0.547, allocations: 24.42 MB / 0.5996 GB, free: 15.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004951/0.5475, allocations: 11.95 kB / 0.5996 GB, free: 15.15 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004798/0.5523, allocations: 0.5851 MB / 0.6002 GB, free: 14.58 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005401/0.5528, allocations: 0.7328 MB / 0.6009 GB, free: 13.85 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04168/0.5945, allocations: 22.36 MB / 0.6227 GB, free: 7.484 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3602/0.9547, allocations: 62.05 MB / 0.6833 GB, free: 123.5 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01539/0.97, allocations: 11.97 MB / 0.695 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006528/0.9766, allocations: 4.6 MB / 0.6995 GB, free: 121.6 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0241/1.001, allocations: 14.34 MB / 0.7135 GB, free: 116.2 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.582e-05/1.001, allocations: 83.92 kB / 0.7136 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=465): time 8.536e-06/1.001, allocations: 3.984 kB / 0.7136 GB, free: 116.1 MB / 0.5261 GB Notification: Performance of matching and sorting (n=465): time 0.02412/1.025, allocations: 15.35 MB / 0.7286 GB, free: 111.5 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.757e-05/1.025, allocations: 122.1 kB / 0.7287 GB, free: 111.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006281/1.031, allocations: 5.154 MB / 0.7337 GB, free: 109.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0008922/1.032, allocations: 96.83 kB / 0.7338 GB, free: 109.4 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.002291/1.034, allocations: 6.246 MB / 0.7399 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001672/1.036, allocations: 1.65 MB / 0.7415 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002219/1.038, allocations: 1.583 MB / 0.7431 GB, free: 102.6 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 4.275e-05/1.038, allocations: 309.1 kB / 0.7434 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004645/1.043, allocations: 4.203 MB / 0.7475 GB, free: 100.9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005625/1.049, allocations: 7.559 MB / 0.7549 GB, free: 94.88 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01087/1.059, allocations: 12.32 MB / 0.7669 GB, free: 85.46 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001103/1.06, allocations: 31.5 kB / 0.7669 GB, free: 85.46 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1000) (initialization): time 0.01886/1.078, allocations: 13.38 MB / 0.78 GB, free: 75.18 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 7.098e-05/1.078, allocations: 52 kB / 0.78 GB, free: 75.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001345/1.079, allocations: 112 kB / 0.7802 GB, free: 75.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003678/1.082, allocations: 3.104 MB / 0.7832 GB, free: 71.91 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004755/1.087, allocations: 1.664 MB / 0.7848 GB, free: 70.25 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005574/1.088, allocations: 327.2 kB / 0.7851 GB, free: 69.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005017/1.093, allocations: 1.099 MB / 0.7862 GB, free: 68.81 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00116/1.094, allocations: 411.9 kB / 0.7866 GB, free: 68.41 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 512 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep4[3].y,booleanStep4[2].y,booleanStep4[1].y,booleanStep3[3].y,booleanStep3[2].y,booleanStep3[1].y,booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,booleanStep1[3].y,booleanStep1[2].y,booleanStep1[1].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (853): * Single equations (assignments): 850 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of prepare postOptimizeDAE: time 0.008216/1.102, allocations: 5.457 MB / 0.7919 GB, free: 62.94 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008961/1.103, allocations: 0.5162 MB / 0.7924 GB, free: 62.42 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009288/1.112, allocations: 9.56 MB / 0.8018 GB, free: 52.82 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.185e-05/1.112, allocations: 48 kB / 0.8018 GB, free: 52.78 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/1.112, allocations: 0 / 0.8018 GB, free: 52.78 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.457e-05/1.112, allocations: 23.91 kB / 0.8018 GB, free: 52.75 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02435/1.137, allocations: 17.98 MB / 0.8194 GB, free: 34.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/1.137, allocations: 4 kB / 0.8194 GB, free: 34.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001563/1.138, allocations: 0.7255 MB / 0.8201 GB, free: 34.08 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003256/1.141, allocations: 2.968 MB / 0.823 GB, free: 31.1 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003993/1.142, allocations: 99.97 kB / 0.8231 GB, free: 31 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002558/1.142, allocations: 122.4 kB / 0.8232 GB, free: 30.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/1.142, allocations: 4 kB / 0.8232 GB, free: 30.87 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01206/1.154, allocations: 14.09 MB / 0.837 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002349/1.156, allocations: 1.341 MB / 0.8383 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007452/1.157, allocations: 84.06 kB / 0.8384 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001712/1.159, allocations: 367.5 kB / 0.8387 GB, free: 14.96 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004222/1.159, allocations: 339.1 kB / 0.839 GB, free: 14.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002038/1.16, allocations: 132 kB / 0.8392 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00371/1.163, allocations: 3.284 MB / 0.8424 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/1.163, allocations: 0 / 0.8424 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007698/1.171, allocations: 3.3 MB / 0.8456 GB, free: 7.902 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (voltageSource.plug_p.reference.gamma) * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep3[1].y,booleanStep3[2].y,booleanStep3[3].y,booleanStep4[1].y,booleanStep4[2].y,booleanStep4[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (357): * Single equations (assignments): 354 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(20,30), (20,28), (20,28)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001151/1.172, allocations: 245.9 kB / 0.8458 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0121/1.184, allocations: 9.614 MB / 0.8552 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/1.184, allocations: 4 kB / 0.8552 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.006787/1.191, allocations: 4.103 MB / 0.8592 GB, free: 9.914 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005581/1.197, allocations: 1.263 MB / 0.8605 GB, free: 8.711 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.206/1.403, allocations: 24.39 MB / 0.8843 GB, free: 174.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01438/1.417, allocations: 8.438 MB / 0.8925 GB, free: 173 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001717/1.419, allocations: 449.7 kB / 0.8929 GB, free: 173 MB / 0.5417 GB Notification: Performance of SimCode: time 1.693e-06/1.419, allocations: 0.9375 kB / 0.8929 GB, free: 173 MB / 0.5417 GB Notification: Performance of Templates: time 0.5201/1.939, allocations: 391.7 MB / 1.275 GB, free: 15.55 MB / 0.5417 GB " [Timeout remaining time 658] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.sim & ./ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Electrical/QuasiStatic/MultiPhase/Ideal/Ideal.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Electrical.QuasiStatic.MultiPhase.Ideal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 16.675762618891895]