Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.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.007537/0.007537, allocations: 110.7 kB / 21.97 MB, free: 5.25 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.001415/0.001415, allocations: 206.5 kB / 25.27 MB, free: 3.238 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.376/1.376, allocations: 207.6 MB / 236 MB, free: 9.984 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.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TestSensors",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_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.001646/0.001646, allocations: 58.58 kB / 348 MB, free: 10.03 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2535/0.2551, allocations: 49.16 MB / 397.1 MB, free: 8.957 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.006066/0.2612, allocations: 6.017 MB / 403.2 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003195/0.2644, allocations: 1.7 MB / 404.9 MB, free: 3.461 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006584/0.2651, allocations: 48.62 kB / 404.9 MB, free: 3.441 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006124/0.2657, allocations: 322.5 kB / 405.2 MB, free: 3.254 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001247/0.2669, allocations: 385.9 kB / 405.6 MB, free: 3.012 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006741/0.2676, allocations: 357.8 kB / 405.9 MB, free: 2.801 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001901/0.2695, allocations: 2.019 MB / 408 MB, free: 1.785 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001715/0.2712, allocations: 1.573 MB / 409.5 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001298/0.2725, allocations: 1.06 MB / 410.6 MB, free: 424 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001687/0.2742, allocations: 1.223 MB / 411.8 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003821/0.2746, allocations: 310.1 kB / 412.1 MB, free: 15.78 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009859/0.2756, allocations: 0.5507 MB / 412.7 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007278/0.2763, allocations: 0.7265 MB / 413.4 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00139/0.2777, allocations: 1.268 MB / 414.7 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003925/0.2816, allocations: 3.801 MB / 418.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.2816, allocations: 0 / 418.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2816, allocations: 1.25 kB / 418.5 MB, free: 11.4 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.488e-05/0.2817, allocations: 0 / 418.5 MB, free: 11.4 MB / 334.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.005102/0.2868, allocations: 2.44 MB / 420.9 MB, free: 9.711 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.2868, allocations: 18.42 kB / 420.9 MB, free: 9.703 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 8.004e-05/0.2869, allocations: 59.45 kB / 421 MB, free: 9.695 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004191/0.2873, allocations: 330.2 kB / 421.3 MB, free: 9.445 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006582/0.288, allocations: 250 kB / 421.6 MB, free: 9.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002052/0.29, allocations: 1.125 MB / 422.7 MB, free: 8.547 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.2902, allocations: 172 kB / 422.8 MB, free: 8.465 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003186/0.2905, allocations: 221 kB / 423.1 MB, free: 8.391 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004422/0.2949, allocations: 2.539 MB / 425.6 MB, free: 6.609 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.854e-05/0.2949, allocations: 0 / 425.6 MB, free: 6.609 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000194/0.2951, allocations: 92 kB / 425.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.386e-05/0.2952, allocations: 63.98 kB / 425.8 MB, free: 6.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003709/0.2989, allocations: 2.134 MB / 427.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01242/0.3113, allocations: 7.358 MB / 435.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001091/0.3124, allocations: 0.686 MB / 435.9 MB, free: 12.04 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/0.3135, allocations: 0.5907 MB / 436.5 MB, free: 11.45 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.433e-05/0.3135, allocations: 12.48 kB / 436.5 MB, free: 11.43 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.697e-05/0.3136, allocations: 50.94 kB / 436.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 3.317e-06/0.3136, allocations: 0 / 436.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004477/0.3181, allocations: 2.383 MB / 439 MB, free: 8.949 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.211e-05/0.3181, allocations: 56.06 kB / 439 MB, free: 8.883 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001064/0.3192, allocations: 0.7972 MB / 439.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.182e-05/0.3192, allocations: 37.7 kB / 439.9 MB, free: 8.035 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006406/0.3199, allocations: 0.9441 MB / 440.8 MB, free: 7.078 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.3201, allocations: 242 kB / 441 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000231/0.3203, allocations: 150.5 kB / 441.2 MB, free: 6.684 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001954/0.3205, allocations: 390.8 kB / 441.6 MB, free: 6.293 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005608/0.321, allocations: 361.8 kB / 441.9 MB, free: 5.941 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007367/0.3218, allocations: 0.5869 MB / 442.5 MB, free: 5.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.3231, allocations: 0.9872 MB / 443.5 MB, free: 4.176 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.313e-06/0.3231, allocations: 4 kB / 443.5 MB, free: 4.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001883/0.325, allocations: 1.154 MB / 444.6 MB, free: 3.008 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.325, allocations: 8 kB / 444.7 MB, free: 3 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.325, allocations: 8 kB / 444.7 MB, free: 2.992 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002946/0.3253, allocations: 116.8 kB / 444.8 MB, free: 2.875 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000666/0.326, allocations: 167.8 kB / 444.9 MB, free: 2.711 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002321/0.3283, allocations: 2.226 MB / 447.2 MB, free: 384 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005489/0.3289, allocations: 39.97 kB / 447.2 MB, free: 344 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.604e-05/0.3289, allocations: 39.98 kB / 447.2 MB, free: 304 kB / 350.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.001048/0.33, allocations: 0.6498 MB / 447.9 MB, free: 15.63 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001782/0.3302, allocations: 87.38 kB / 448 MB, free: 15.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002009/0.3304, allocations: 99.56 kB / 448.1 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.96e-05/0.3304, allocations: 8 kB / 448.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.3304, allocations: 0 / 448.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.3304, allocations: 3.984 kB / 448.1 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004292/0.3347, allocations: 2.633 MB / 450.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.3347, allocations: 4 kB / 450.7 MB, free: 12.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004669/0.3352, allocations: 111.8 kB / 450.8 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002444/0.3354, allocations: 100.9 kB / 450.9 MB, free: 12.52 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.75e-05/0.3355, allocations: 19.92 kB / 451 MB, free: 12.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002155/0.3376, allocations: 2.172 MB / 453.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.3376, allocations: 0 / 453.1 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002148/0.3398, allocations: 1.427 MB / 454.6 MB, free: 8.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003845/0.3402, allocations: 151.4 kB / 454.7 MB, free: 8.602 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.893e-05/0.3403, allocations: 19.88 kB / 454.7 MB, free: 8.582 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004119/0.3407, allocations: 43.95 kB / 454.8 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000119/0.3408, allocations: 52.39 kB / 454.8 MB, free: 8.488 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.643e-05/0.3408, allocations: 20.05 kB / 454.8 MB, free: 8.469 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007459/0.3416, allocations: 0.5654 MB / 455.4 MB, free: 7.906 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3416, allocations: 0 / 455.4 MB, free: 7.906 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001101/0.3427, allocations: 299.9 kB / 455.7 MB, free: 7.613 MB / 366.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.002534/0.3452, allocations: 2.006 MB / 457.7 MB, free: 5.559 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001701/0.3469, allocations: 0.9721 MB / 458.7 MB, free: 4.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.3469, allocations: 0 / 458.7 MB, free: 4.57 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008727/0.3478, allocations: 0.5363 MB / 459.2 MB, free: 4.023 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00111/0.3489, allocations: 219.7 kB / 459.4 MB, free: 3.812 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01547/0.3644, allocations: 10.18 MB / 469.6 MB, free: 9.273 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00148/0.3659, allocations: 1.72 MB / 471.3 MB, free: 7.516 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005632/0.3664, allocations: 203.1 kB / 471.5 MB, free: 7.312 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000796/0.3672, allocations: 0.6399 MB / 472.2 MB, free: 6.672 MB / 382.1 MB Notification: Performance of SimCode: time 1.062e-06/0.3672, allocations: 0 / 472.2 MB, free: 6.672 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05933/0.4265, allocations: 25.1 MB / 497.3 MB, free: 13.48 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.19/12.62, allocations: 8.016 kB / 497.3 MB, free: 13.47 MB / 414.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TestSensors_fmu --startTime=0 --stopTime=0.1 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TestSensors.fmu > Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.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: 15.19343183800811]