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.001852/0.001852, allocations: 113.6 kB / 21.19 MB, free: 0.7031 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.002245/0.002245, allocations: 208.6 kB / 24.49 MB, free: 4.055 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.424/1.424, allocations: 207.6 MB / 235.3 MB, free: 10 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TestSensors",fmuType="me",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.001906/0.001906, allocations: 59.92 kB / 347.2 MB, free: 10.12 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3013/0.3032, allocations: 49.17 MB / 396.4 MB, free: 8.953 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.006757/0.3099, allocations: 6.009 MB / 402.4 MB, free: 4.688 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003672/0.3136, allocations: 1.693 MB / 404.1 MB, free: 3.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007003/0.3143, allocations: 52.84 kB / 404.1 MB, free: 3.422 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006384/0.3149, allocations: 321.8 kB / 404.4 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001178/0.3161, allocations: 385.9 kB / 404.8 MB, free: 2.992 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007201/0.3168, allocations: 358.6 kB / 405.2 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002079/0.3189, allocations: 2.022 MB / 407.2 MB, free: 1.762 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001858/0.3208, allocations: 1.573 MB / 408.7 MB, free: 0.9141 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001327/0.3221, allocations: 1.06 MB / 409.8 MB, free: 400 kB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001779/0.3239, allocations: 1.219 MB / 411 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000455/0.3243, allocations: 309.6 kB / 411.3 MB, free: 15.77 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001174/0.3255, allocations: 0.5506 MB / 411.9 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008323/0.3263, allocations: 0.7332 MB / 412.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001482/0.3278, allocations: 1.267 MB / 413.9 MB, free: 14.22 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004715/0.3325, allocations: 3.803 MB / 417.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.451e-06/0.3325, allocations: 0 / 417.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3325, allocations: 0 / 417.7 MB, free: 11.38 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.0001036/0.3326, allocations: 1.219 kB / 417.7 MB, free: 11.38 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.005784/0.3384, allocations: 2.444 MB / 420.1 MB, free: 9.684 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.458e-05/0.3385, allocations: 13.39 kB / 420.1 MB, free: 9.68 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005767/0.3391, allocations: 327.2 kB / 420.5 MB, free: 9.434 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007098/0.3398, allocations: 250.2 kB / 420.7 MB, free: 9.305 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002312/0.3421, allocations: 1.124 MB / 421.8 MB, free: 8.535 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001337/0.3422, allocations: 167.7 kB / 422 MB, free: 8.457 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003187/0.3425, allocations: 226.1 kB / 422.2 MB, free: 8.379 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004778/0.3473, allocations: 2.541 MB / 424.8 MB, free: 6.684 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.984e-05/0.3474, allocations: 0 / 424.8 MB, free: 6.684 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001961/0.3476, allocations: 92 kB / 424.8 MB, free: 6.594 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.758e-05/0.3476, allocations: 56 kB / 424.9 MB, free: 6.539 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003761/0.3514, allocations: 2.133 MB / 427 MB, free: 4.391 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01267/0.3641, allocations: 7.366 MB / 434.4 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001069/0.3651, allocations: 0.6899 MB / 435.1 MB, free: 12.1 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001077/0.3662, allocations: 0.5985 MB / 435.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.182e-05/0.3663, allocations: 4.5 kB / 435.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.3663, allocations: 39.06 kB / 435.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 1.873e-06/0.3663, allocations: 0 / 435.7 MB, free: 11.45 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004758/0.3711, allocations: 2.391 MB / 438.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.076e-05/0.3711, allocations: 64.06 kB / 438.2 MB, free: 8.938 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001196/0.3723, allocations: 0.7933 MB / 439 MB, free: 8.137 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.669e-05/0.3724, allocations: 37.7 kB / 439 MB, free: 8.094 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008057/0.3732, allocations: 0.9402 MB / 440 MB, free: 7.141 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002358/0.3734, allocations: 242 kB / 440.2 MB, free: 6.902 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/0.3737, allocations: 146.6 kB / 440.3 MB, free: 6.75 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002642/0.3739, allocations: 386.8 kB / 440.7 MB, free: 6.363 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006257/0.3746, allocations: 369.8 kB / 441.1 MB, free: 6.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007774/0.3753, allocations: 0.579 MB / 441.6 MB, free: 5.332 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/0.3767, allocations: 0.9873 MB / 442.6 MB, free: 4.246 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3767, allocations: 0 / 442.6 MB, free: 4.246 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00209/0.3788, allocations: 1.161 MB / 443.8 MB, free: 3.074 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.3788, allocations: 11.94 kB / 443.8 MB, free: 3.062 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.3789, allocations: 8 kB / 443.8 MB, free: 3.055 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003038/0.3792, allocations: 117 kB / 443.9 MB, free: 2.938 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006797/0.3798, allocations: 171.7 kB / 444.1 MB, free: 2.77 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002478/0.3823, allocations: 2.218 MB / 446.3 MB, free: 452 kB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005714/0.3829, allocations: 51.95 kB / 446.4 MB, free: 400 kB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.845e-05/0.3829, allocations: 32 kB / 446.4 MB, free: 368 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.001181/0.3841, allocations: 0.6419 MB / 447 MB, free: 15.71 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002011/0.3843, allocations: 91.38 kB / 447.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.3845, allocations: 99.55 kB / 447.2 MB, free: 15.51 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-05/0.3846, allocations: 8 kB / 447.2 MB, free: 15.5 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.465e-05/0.3846, allocations: 12 kB / 447.2 MB, free: 15.49 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.3846, allocations: 7.984 kB / 447.3 MB, free: 15.48 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004707/0.3893, allocations: 2.629 MB / 449.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.3893, allocations: 0 / 449.9 MB, free: 12.79 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004775/0.3898, allocations: 108 kB / 450 MB, free: 12.68 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000263/0.39, allocations: 104.7 kB / 450.1 MB, free: 12.57 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.6e-05/0.3901, allocations: 19.94 kB / 450.1 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00237/0.3925, allocations: 2.16 MB / 452.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3925, allocations: 32 / 452.3 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/0.3948, allocations: 1.427 MB / 453.7 MB, free: 8.82 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005132/0.3953, allocations: 151.5 kB / 453.8 MB, free: 8.672 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.723e-05/0.3954, allocations: 23.92 kB / 453.9 MB, free: 8.648 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004245/0.3958, allocations: 39.95 kB / 453.9 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.3959, allocations: 64.44 kB / 454 MB, free: 8.547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.632e-05/0.396, allocations: 16 kB / 454 MB, free: 8.531 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009293/0.3969, allocations: 0.5536 MB / 454.5 MB, free: 7.98 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3969, allocations: 0 / 454.5 MB, free: 7.98 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001384/0.3983, allocations: 303.9 kB / 454.8 MB, free: 7.684 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.002791/0.4011, allocations: 2.01 MB / 456.8 MB, free: 5.625 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001775/0.4029, allocations: 0.9672 MB / 457.8 MB, free: 4.641 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.4029, allocations: 4 kB / 457.8 MB, free: 4.637 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009001/0.4038, allocations: 0.5421 MB / 458.4 MB, free: 4.086 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.4049, allocations: 222.9 kB / 458.6 MB, free: 3.871 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01589/0.4207, allocations: 10.17 MB / 468.7 MB, free: 9.344 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001597/0.4223, allocations: 1.724 MB / 470.5 MB, free: 7.582 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000595/0.4229, allocations: 203.1 kB / 470.7 MB, free: 7.379 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008856/0.4238, allocations: 0.6399 MB / 471.3 MB, free: 6.738 MB / 382.1 MB Notification: Performance of SimCode: time 8.72e-07/0.4238, allocations: 0 / 471.3 MB, free: 6.738 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06908/0.4929, allocations: 25.08 MB / 496.4 MB, free: 13.57 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/12.98, allocations: 0 / 496.4 MB, free: 13.57 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TestSensors_res.csv --start-time 0 --stop-time 0.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 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.csv","/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.445694722002372]