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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001292/0.001292, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.467/1.467, allocations: 225.6 MB / 250.8 MB, free: 13.32 MB / 206.1 MB " [Timeout remaining time 178] 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=1000,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=1000,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") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002313/0.002313, allocations: 55.91 kB / 368.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2633/0.2656, allocations: 52.13 MB / 420.9 MB, free: 15.07 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad): time 0.01536/0.2809, allocations: 14.01 MB / 434.9 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.007657/0.2886, allocations: 3.785 MB / 438.7 MB, free: 13.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001758/0.2903, allocations: 103.7 kB / 438.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01247/0.3028, allocations: 5.599 MB / 444.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005635/0.3084, allocations: 1.518 MB / 445.9 MB, free: 5.957 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00317/0.3116, allocations: 1.08 MB / 447 MB, free: 4.887 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.008069/0.3197, allocations: 6.323 MB / 453.3 MB, free: 14.54 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01291/0.3326, allocations: 8.626 MB / 461.9 MB, free: 5.801 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004397/0.337, allocations: 3.296 MB / 465.2 MB, free: 2.496 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005911/0.3429, allocations: 3.874 MB / 469.1 MB, free: 14.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001799/0.3447, allocations: 0.8828 MB / 470 MB, free: 13.73 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002285/0.347, allocations: 1.07 MB / 471 MB, free: 12.66 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001629/0.3486, allocations: 1.777 MB / 472.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004297/0.3529, allocations: 3.568 MB / 476.4 MB, free: 7.293 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01277/0.3657, allocations: 11.97 MB / 488.4 MB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.424e-06/0.3657, allocations: 4 kB / 488.4 MB, free: 11.28 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3657, allocations: 0 / 488.4 MB, free: 11.28 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002893/0.366, allocations: 3.938 kB / 488.4 MB, free: 11.27 MB / 398.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.02093/0.3869, allocations: 7.913 MB / 496.3 MB, free: 3.277 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.387, allocations: 8.031 kB / 496.3 MB, free: 3.27 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01893/0.4059, allocations: 2.916 MB / 499.2 MB, free: 356 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007952/0.4138, allocations: 3.734 MB / 0.4912 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004148/0.4143, allocations: 481 kB / 0.4916 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001937/0.4162, allocations: 0.6288 MB / 0.4922 GB, free: 11.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01907/0.4353, allocations: 9.31 MB / 0.5013 GB, free: 2.086 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001551/0.4354, allocations: 11.95 kB / 0.5013 GB, free: 2.074 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007563/0.4362, allocations: 264 kB / 0.5016 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003121/0.4365, allocations: 321.3 kB / 0.5019 GB, free: 1.5 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01605/0.4525, allocations: 7.95 MB / 0.5097 GB, free: 9.531 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2606/0.7132, allocations: 28.28 MB / 0.5373 GB, free: 90.5 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008188/0.7214, allocations: 11.46 MB / 0.5485 GB, free: 81.02 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001816/0.7232, allocations: 1.461 MB / 0.5499 GB, free: 81 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001847/0.7234, allocations: 136.8 kB / 0.55 GB, free: 80.91 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.7234, allocations: 60 kB / 0.5501 GB, free: 80.87 MB / 446.1 MB Notification: Performance of pre-optimization done (n=238): time 3.967e-06/0.7234, allocations: 3 kB / 0.5501 GB, free: 80.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=238): time 0.006558/0.73, allocations: 4.156 MB / 0.5541 GB, free: 80.57 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.73, allocations: 103.8 kB / 0.5542 GB, free: 80.47 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00205/0.7321, allocations: 1.908 MB / 0.5561 GB, free: 80.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001057/0.7322, allocations: 68.86 kB / 0.5562 GB, free: 80.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001006/0.7332, allocations: 2.638 MB / 0.5587 GB, free: 79.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004172/0.7336, allocations: 0.851 MB / 0.5596 GB, free: 78.55 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007691/0.7344, allocations: 0.6602 MB / 0.5602 GB, free: 78.23 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.916e-05/0.7344, allocations: 301.1 kB / 0.5605 GB, free: 77.94 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001591/0.736, allocations: 1.406 MB / 0.5619 GB, free: 77.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001921/0.7379, allocations: 2.598 MB / 0.5644 GB, free: 75.43 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003532/0.7414, allocations: 4.23 MB / 0.5685 GB, free: 72.56 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.748e-05/0.7415, allocations: 11.5 kB / 0.5686 GB, free: 72.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=442) (initialization): time 0.005464/0.7469, allocations: 4.516 MB / 0.573 GB, free: 70.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.165e-05/0.7469, allocations: 21.22 kB / 0.573 GB, free: 70.66 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.738e-05/0.747, allocations: 41.09 kB / 0.573 GB, free: 70.66 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006763/0.7477, allocations: 315.1 kB / 0.5733 GB, free: 70.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002352/0.75, allocations: 0.7857 MB / 0.5741 GB, free: 70.26 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004076/0.7541, allocations: 5.039 MB / 0.579 GB, free: 64.97 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002031/0.7561, allocations: 424.7 kB / 0.5794 GB, free: 64.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002172/0.7563, allocations: 168 kB / 0.5796 GB, free: 64.39 MB / 446.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.003197/0.7595, allocations: 2.191 MB / 0.5817 GB, free: 62.19 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003695/0.7599, allocations: 214.6 kB / 0.5819 GB, free: 61.98 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004169/0.7641, allocations: 3.178 MB / 0.585 GB, free: 58.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.489e-05/0.7641, allocations: 27.06 kB / 0.5851 GB, free: 58.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/0.7641, allocations: 4 kB / 0.5851 GB, free: 58.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/0.7641, allocations: 11.95 kB / 0.5851 GB, free: 58.74 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0138/0.7779, allocations: 11.74 MB / 0.5965 GB, free: 46.58 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.525e-05/0.7779, allocations: 17 kB / 0.5966 GB, free: 46.57 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/0.7794, allocations: 427.4 kB / 0.597 GB, free: 46.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005805/0.78, allocations: 277.5 kB / 0.5972 GB, free: 45.87 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001281/0.7801, allocations: 75.97 kB / 0.5973 GB, free: 45.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003697/0.7838, allocations: 4.989 MB / 0.6022 GB, free: 40.54 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.456e-06/0.7838, allocations: 19.94 kB / 0.6022 GB, free: 40.52 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005184/0.789, allocations: 4.999 MB / 0.6071 GB, free: 35.31 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008025/0.7898, allocations: 0.5379 MB / 0.6076 GB, free: 34.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002575/0.7901, allocations: 63.98 kB / 0.6077 GB, free: 34.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.7912, allocations: 119.9 kB / 0.6078 GB, free: 34.57 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002893/0.7915, allocations: 205.3 kB / 0.608 GB, free: 34.37 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/0.7917, allocations: 87.98 kB / 0.6081 GB, free: 34.29 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001352/0.793, allocations: 1.29 MB / 0.6093 GB, free: 33 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.793, allocations: 0 / 0.6093 GB, free: 33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003232/0.7962, allocations: 1.456 MB / 0.6107 GB, free: 31.54 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.0003197/0.7966, allocations: 226.1 kB / 0.611 GB, free: 31.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004217/0.8008, allocations: 3.484 MB / 0.6144 GB, free: 27.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.8008, allocations: 4.25 kB / 0.6144 GB, free: 27.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001766/0.8026, allocations: 1.591 MB / 0.6159 GB, free: 26.19 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002424/0.805, allocations: 0.5141 MB / 0.6164 GB, free: 25.68 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01227/0.8173, allocations: 10.13 MB / 0.6263 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00279/0.82, allocations: 4.003 MB / 0.6302 GB, free: 11.3 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002537/0.8226, allocations: 1.195 MB / 0.6314 GB, free: 10.1 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004874/0.8231, allocations: 187.4 kB / 0.6316 GB, free: 9.918 MB / 446.1 MB Notification: Performance of SimCode: time 1.102e-06/0.8231, allocations: 8 kB / 0.6316 GB, free: 9.91 MB / 446.1 MB Notification: Performance of Templates: time 0.05791/0.881, allocations: 33.3 MB / 0.6641 GB, free: 8.77 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.QuasiStatic.Polyphase.Examples.UnsymmetricalLoad.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.766207652166486]