Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.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.001472/0.001472, allocations: 101.5 kB / 21.21 MB, free: 0.6289 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.00153/0.00153, allocations: 185 kB / 24.49 MB, free: 3.941 MB / 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.389/1.389, allocations: 225.7 MB / 253.3 MB, free: 12.81 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: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TestSensors,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 47.92 kB / 371.2 MB, free: 9.652 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.2993, allocations: 52.19 MB / 423.4 MB, free: 14.38 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007669/0.3069, allocations: 5.324 MB / 428.7 MB, free: 9.027 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.00389/0.3108, allocations: 1.581 MB / 430.3 MB, free: 7.441 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.312, allocations: 63.62 kB / 430.3 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001002/0.313, allocations: 321.4 kB / 430.6 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001888/0.3149, allocations: 385.5 kB / 431 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009545/0.3159, allocations: 363.5 kB / 431.4 MB, free: 6.328 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002347/0.3182, allocations: 2.013 MB / 433.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002016/0.3202, allocations: 1.599 MB / 435 MB, free: 2.645 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001199/0.3214, allocations: 1.067 MB / 436.1 MB, free: 1.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.323, allocations: 1.218 MB / 437.3 MB, free: 360 kB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003779/0.3234, allocations: 308 kB / 437.6 MB, free: 52 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007667/0.3241, allocations: 471.6 kB / 438 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006477/0.3248, allocations: 0.7363 MB / 438.8 MB, free: 14.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001193/0.326, allocations: 1.023 MB / 439.8 MB, free: 13.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004087/0.3301, allocations: 3.819 MB / 443.6 MB, free: 9.992 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3301, allocations: 4 kB / 443.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.3301, allocations: 0 / 443.6 MB, free: 9.988 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.22e-05/0.3302, allocations: 0 / 443.6 MB, free: 9.988 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004555/0.3347, allocations: 2.431 MB / 446 MB, free: 7.512 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.389e-05/0.3348, allocations: 12.03 kB / 446.1 MB, free: 7.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.498e-05/0.3348, allocations: 60.7 kB / 446.1 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003885/0.3352, allocations: 332.8 kB / 446.4 MB, free: 7.102 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005958/0.3358, allocations: 255.4 kB / 446.7 MB, free: 6.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00212/0.3379, allocations: 1.246 MB / 447.9 MB, free: 5.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001394/0.3381, allocations: 172.6 kB / 448.1 MB, free: 5.398 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003062/0.3384, allocations: 224 kB / 448.3 MB, free: 5.18 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004453/0.3428, allocations: 2.617 MB / 450.9 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.727e-05/0.3429, allocations: 0 / 450.9 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001932/0.3431, allocations: 92 kB / 451 MB, free: 2.402 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.82e-05/0.3432, allocations: 59.98 kB / 451.1 MB, free: 2.344 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003469/0.3466, allocations: 2.137 MB / 453.2 MB, free: 196 kB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.011/0.3576, allocations: 6.715 MB / 459.9 MB, free: 9.254 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001009/0.3586, allocations: 0.6848 MB / 460.6 MB, free: 8.566 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.3597, allocations: 0.5985 MB / 461.2 MB, free: 7.965 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.3597, allocations: 4.5 kB / 461.2 MB, free: 7.961 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.3597, allocations: 51 kB / 461.3 MB, free: 7.902 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.805e-06/0.3597, allocations: 0 / 461.3 MB, free: 7.902 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.00413/0.3639, allocations: 2.383 MB / 463.7 MB, free: 5.484 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.3639, allocations: 60.06 kB / 463.7 MB, free: 5.414 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009996/0.3649, allocations: 0.7894 MB / 464.5 MB, free: 4.617 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.527e-05/0.365, allocations: 37.7 kB / 464.5 MB, free: 4.574 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006421/0.3656, allocations: 0.9518 MB / 465.5 MB, free: 3.609 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000185/0.3658, allocations: 238 kB / 465.7 MB, free: 3.375 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002315/0.366, allocations: 150.6 kB / 465.9 MB, free: 3.223 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.3662, allocations: 394.7 kB / 466.3 MB, free: 2.828 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005605/0.3668, allocations: 361.8 kB / 466.6 MB, free: 2.473 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007534/0.3675, allocations: 0.5829 MB / 467.2 MB, free: 1.793 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00136/0.3689, allocations: 0.9833 MB / 468.2 MB, free: 0.7109 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.3689, allocations: 4 kB / 468.2 MB, free: 0.707 MB / 366.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001807/0.3707, allocations: 1.15 MB / 469.3 MB, free: 15.55 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.3707, allocations: 12.09 kB / 469.3 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.3707, allocations: 8 kB / 469.4 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002906/0.371, allocations: 108.7 kB / 469.5 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006684/0.3717, allocations: 175.7 kB / 469.6 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/0.374, allocations: 2.21 MB / 471.8 MB, free: 12.93 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004545/0.3744, allocations: 43.95 kB / 471.9 MB, free: 12.88 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.034e-05/0.3745, allocations: 32 kB / 471.9 MB, free: 12.85 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (89): * Single equations (assignments): 86 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0009638/0.3755, allocations: 0.6457 MB / 472.6 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001667/0.3756, allocations: 91.38 kB / 472.7 MB, free: 12.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001879/0.3758, allocations: 103.6 kB / 472.8 MB, free: 12 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.842e-05/0.3758, allocations: 11.98 kB / 472.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.3759, allocations: 0 / 472.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.521e-06/0.3759, allocations: 0 / 472.8 MB, free: 11.98 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004055/0.3799, allocations: 2.54 MB / 475.3 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.3799, allocations: 0 / 475.3 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004468/0.3804, allocations: 111.9 kB / 475.4 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002351/0.3806, allocations: 100.9 kB / 475.5 MB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.633e-05/0.3806, allocations: 15.98 kB / 475.5 MB, free: 9.148 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00206/0.3827, allocations: 2.145 MB / 477.7 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.3827, allocations: 0 / 477.7 MB, free: 6.887 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002004/0.3847, allocations: 1.427 MB / 479.1 MB, free: 5.426 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003002/0.385, allocations: 155.5 kB / 479.3 MB, free: 5.273 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.465e-05/0.3851, allocations: 19.92 kB / 479.3 MB, free: 5.254 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003933/0.3855, allocations: 43.89 kB / 479.3 MB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.3856, allocations: 56.47 kB / 479.4 MB, free: 5.156 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.125e-05/0.3857, allocations: 16 kB / 479.4 MB, free: 5.141 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007193/0.3864, allocations: 0.5614 MB / 479.9 MB, free: 4.582 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3864, allocations: 0 / 479.9 MB, free: 4.582 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001014/0.3874, allocations: 296 kB / 480.2 MB, free: 4.293 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (inductor.inductor[2].i,inductor.inductor[3].i) * 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 (55): * Single equations (assignments): 52 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00245/0.3898, allocations: 2.01 MB / 482.2 MB, free: 2.238 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001564/0.3914, allocations: 0.96 MB / 483.2 MB, free: 1.266 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3914, allocations: 0 / 483.2 MB, free: 1.266 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008436/0.3923, allocations: 0.5455 MB / 483.8 MB, free: 0.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001028/0.3933, allocations: 220.4 kB / 484 MB, free: 0.5 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/0.4073, allocations: 10.15 MB / 494.1 MB, free: 5.977 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00126/0.4085, allocations: 1.144 MB / 495.3 MB, free: 4.789 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005166/0.409, allocations: 203.1 kB / 495.5 MB, free: 4.586 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007708/0.4098, allocations: 0.6438 MB / 496.1 MB, free: 3.945 MB / 398.1 MB Notification: Performance of SimCode: time 1.163e-06/0.4098, allocations: 0 / 496.1 MB, free: 3.945 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05903/0.4688, allocations: 25.82 MB / 0.5097 GB, free: 10.51 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.34/12.81, allocations: 10.34 kB / 0.5097 GB, free: 10.5 MB / 430.1 MB " [Timeout remaining time 647] (rm -f Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Polyphase_Examples_TestSensors.fmu > Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Polyphase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Polyphase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Polyphase.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: 15.421744314953685]