Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.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.006164/0.006164, allocations: 114.3 kB / 21.97 MB, free: 5.219 MB / 14.72 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.001713/0.001713, allocations: 216.2 kB / 25.28 MB, free: 3.246 MB / 14.72 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 1.356/1.356, allocations: 207.6 MB / 236 MB, free: 9.977 MB / 190.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001683/0.001683, allocations: 51.92 kB / 348 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2483, allocations: 49.16 MB / 397.1 MB, free: 8.965 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.01634/0.2646, allocations: 16.94 MB / 414.1 MB, free: 12.73 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01226/0.2769, allocations: 4.274 MB / 418.4 MB, free: 9.676 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003991/0.2809, allocations: 135 kB / 418.5 MB, free: 9.637 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01728/0.2982, allocations: 7.543 MB / 426 MB, free: 3.977 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006223/0.3044, allocations: 1.42 MB / 427.5 MB, free: 2.82 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004056/0.3085, allocations: 1.378 MB / 428.8 MB, free: 1.723 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01165/0.3201, allocations: 8.615 MB / 437.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02374/0.3438, allocations: 14.46 MB / 451.9 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007579/0.3514, allocations: 5.062 MB / 457 MB, free: 7.16 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009222/0.3606, allocations: 5.568 MB / 462.5 MB, free: 1.574 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003397/0.364, allocations: 1.406 MB / 463.9 MB, free: 172 kB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005075/0.3691, allocations: 1.675 MB / 465.6 MB, free: 14.49 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00409/0.3732, allocations: 2.712 MB / 468.3 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009086/0.3823, allocations: 5.378 MB / 473.7 MB, free: 6.375 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02288/0.4052, allocations: 18.58 MB / 492.3 MB, free: 3.738 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/0.4052, allocations: 0 / 492.3 MB, free: 3.738 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.4052, allocations: 0 / 492.3 MB, free: 3.738 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0004552/0.4056, allocations: 0 / 492.3 MB, free: 3.738 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: 2571 * Number of variables: 2571 Notification: Performance of Generate backend data structure: time 0.03485/0.4405, allocations: 10.91 MB / 0.4914 GB, free: 8.754 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.165e-05/0.4405, allocations: 15.98 kB / 0.4914 GB, free: 8.738 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0003142/0.4409, allocations: 259.6 kB / 0.4917 GB, free: 8.484 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004572/0.4454, allocations: 1.352 MB / 0.493 GB, free: 7.121 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02966/0.4751, allocations: 5.746 MB / 0.4986 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01273/0.4878, allocations: 4.907 MB / 0.5034 GB, free: 12.39 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001002/0.4888, allocations: 0.7026 MB / 0.5041 GB, free: 11.69 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003852/0.4927, allocations: 0.9257 MB / 0.505 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03604/0.5287, allocations: 13.6 MB / 0.5183 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003801/0.5291, allocations: 7.953 kB / 0.5183 GB, free: 13.12 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002746/0.5318, allocations: 392 kB / 0.5186 GB, free: 12.73 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005172/0.5323, allocations: 467.9 kB / 0.5191 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02916/0.5615, allocations: 12.82 MB / 0.5316 GB, free: 15.43 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4207/0.9823, allocations: 44.44 MB / 0.575 GB, free: 116.1 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009912/0.9922, allocations: 5.363 MB / 0.5802 GB, free: 115.9 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002083/0.9942, allocations: 1.703 MB / 0.5819 GB, free: 115.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009193/1.003, allocations: 5.741 MB / 0.5875 GB, free: 115.6 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/1.003, allocations: 60.5 kB / 0.5876 GB, free: 115.6 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 3.587e-06/1.003, allocations: 0 / 0.5876 GB, free: 115.6 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.006581/1.01, allocations: 4.243 MB / 0.5917 GB, free: 114.1 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.954e-05/1.01, allocations: 72.66 kB / 0.5918 GB, free: 114 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003797/1.014, allocations: 3.332 MB / 0.595 GB, free: 112.8 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001234/1.014, allocations: 53.2 kB / 0.5951 GB, free: 112.8 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002001/1.016, allocations: 4.35 MB / 0.5993 GB, free: 109.8 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005627/1.017, allocations: 0.7242 MB / 0.6 GB, free: 109.2 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00127/1.018, allocations: 1.07 MB / 0.6011 GB, free: 108.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 5.841e-05/1.018, allocations: 305.1 kB / 0.6014 GB, free: 108.2 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002269/1.02, allocations: 2.043 MB / 0.6034 GB, free: 107.2 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003177/1.023, allocations: 4.686 MB / 0.6079 GB, free: 102.4 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005862/1.029, allocations: 7.096 MB / 0.6149 GB, free: 96.24 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.218e-05/1.029, allocations: 26.25 kB / 0.6149 GB, free: 96.24 MB / 478.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.009745/1.039, allocations: 7.009 MB / 0.6217 GB, free: 92.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.16e-05/1.039, allocations: 50.52 kB / 0.6218 GB, free: 92.6 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001505/1.039, allocations: 89.59 kB / 0.6219 GB, free: 92.6 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009157/1.04, allocations: 430.1 kB / 0.6223 GB, free: 92.44 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003053/1.043, allocations: 1.174 MB / 0.6234 GB, free: 91.26 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003939/1.047, allocations: 4.278 MB / 0.6276 GB, free: 86.87 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00352/1.051, allocations: 0.7334 MB / 0.6283 GB, free: 86.13 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004657/1.051, allocations: 291.9 kB / 0.6286 GB, free: 85.85 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 418 * 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 (623): * Single equations (assignments): 621 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004701/1.056, allocations: 3.485 MB / 0.632 GB, free: 82.35 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006643/1.057, allocations: 294.1 kB / 0.6323 GB, free: 82.06 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004448/1.061, allocations: 3.312 MB / 0.6355 GB, free: 78.73 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00287/1.064, allocations: 2.53 MB / 0.638 GB, free: 76.19 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.21e-05/1.064, allocations: 4 kB / 0.638 GB, free: 76.19 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.746e-05/1.064, allocations: 11.95 kB / 0.638 GB, free: 76.18 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01773/1.082, allocations: 9.335 MB / 0.6471 GB, free: 66.81 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/1.082, allocations: 0 / 0.6471 GB, free: 66.81 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001358/1.083, allocations: 363.4 kB / 0.6475 GB, free: 66.45 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006748/1.084, allocations: 313.3 kB / 0.6478 GB, free: 66.14 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000185/1.084, allocations: 47.86 kB / 0.6478 GB, free: 66.1 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00377/1.088, allocations: 4.096 MB / 0.6518 GB, free: 61.89 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/1.088, allocations: 4 kB / 0.6518 GB, free: 61.89 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005466/1.093, allocations: 4.696 MB / 0.6564 GB, free: 57.16 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001263/1.094, allocations: 0.5404 MB / 0.6569 GB, free: 56.61 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006503/1.095, allocations: 39.94 kB / 0.657 GB, free: 56.57 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/1.096, allocations: 131.9 kB / 0.6571 GB, free: 56.45 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000239/1.097, allocations: 137.7 kB / 0.6572 GB, free: 56.31 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/1.097, allocations: 55.98 kB / 0.6573 GB, free: 56.26 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003321/1.1, allocations: 2.198 MB / 0.6594 GB, free: 54.06 MB / 478.1 MB Notification: Performance of sort global known variables: time 8e-08/1.1, allocations: 0 / 0.6594 GB, free: 54.06 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005492/1.106, allocations: 2.058 MB / 0.6614 GB, free: 51.99 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (sineVoltage.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 (180): * Single equations (assignments): 178 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 {(3,23,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005899/1.112, allocations: 5.352 MB / 0.6667 GB, free: 46.61 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006163/1.118, allocations: 4.517 MB / 0.6711 GB, free: 42.09 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.681e-06/1.118, allocations: 0.9375 kB / 0.6711 GB, free: 42.09 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001689/1.119, allocations: 1.481 MB / 0.6725 GB, free: 40.61 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003573/1.123, allocations: 0.6876 MB / 0.6732 GB, free: 39.93 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06657/1.19, allocations: 42.98 MB / 0.7152 GB, free: 9.723 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009934/1.199, allocations: 5.796 MB / 0.7208 GB, free: 3.887 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004788/1.204, allocations: 1.828 MB / 0.7226 GB, free: 2.055 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004878/1.209, allocations: 2.868 MB / 0.7254 GB, free: 15.23 MB / 0.4982 GB Notification: Performance of SimCode: time 1.052e-06/1.209, allocations: 4 kB / 0.7254 GB, free: 15.23 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3522/1.561, allocations: 96.65 MB / 0.8198 GB, free: 130.1 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.81/18.37, allocations: 9.797 kB / 0.8198 GB, free: 130.1 MB / 0.5138 GB " [Timeout remaining time 641] (rm -f Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors.fmu > Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.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: 21.647002757992595]