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.001863/0.001863, allocations: 107.6 kB / 21.18 MB, free: 452 kB / 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.002324/0.002324, allocations: 214.8 kB / 24.47 MB, free: 3.777 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.369/1.369, allocations: 207.7 MB / 235.3 MB, free: 9.793 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.001782/0.001782, allocations: 62.58 kB / 347.2 MB, free: 9.875 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2767/0.2785, allocations: 49.14 MB / 396.3 MB, free: 8.875 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.MultiPhase.Examples.TestSensors): time 0.005931/0.2844, allocations: 5.29 MB / 401.6 MB, free: 5.367 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00323/0.2876, allocations: 1.641 MB / 403.3 MB, free: 4.184 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004998/0.2881, allocations: 48.88 kB / 403.3 MB, free: 4.164 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005805/0.2887, allocations: 323.3 kB / 403.6 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001017/0.2897, allocations: 381.7 kB / 404 MB, free: 3.738 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005859/0.2903, allocations: 361 kB / 404.4 MB, free: 3.523 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001775/0.2921, allocations: 2.014 MB / 406.4 MB, free: 2.512 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001755/0.2938, allocations: 1.524 MB / 407.9 MB, free: 1.719 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001097/0.2949, allocations: 1.055 MB / 409 MB, free: 1.199 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.2963, allocations: 1.152 MB / 410.1 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003781/0.2967, allocations: 309.6 kB / 410.4 MB, free: 0.6562 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007871/0.2975, allocations: 463.7 kB / 410.9 MB, free: 0.6094 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004968/0.298, allocations: 0.7295 MB / 411.6 MB, free: 112 kB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001091/0.2991, allocations: 1.023 MB / 412.6 MB, free: 15.42 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003703/0.3028, allocations: 3.805 MB / 416.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3028, allocations: 1.062 kB / 416.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.054e-06/0.3028, allocations: 0 / 416.4 MB, free: 12.58 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.371e-05/0.3029, allocations: 4 kB / 416.4 MB, free: 12.57 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.004628/0.3075, allocations: 2.441 MB / 418.9 MB, free: 10.89 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3075, allocations: 13.92 kB / 418.9 MB, free: 10.88 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004096/0.308, allocations: 327.2 kB / 419.2 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005794/0.3085, allocations: 245.7 kB / 419.4 MB, free: 10.51 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002369/0.3109, allocations: 1.129 MB / 420.6 MB, free: 9.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001488/0.3111, allocations: 171 kB / 420.7 MB, free: 9.656 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003257/0.3114, allocations: 221.3 kB / 421 MB, free: 9.582 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004443/0.3158, allocations: 2.624 MB / 423.6 MB, free: 7.637 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.211e-05/0.3159, allocations: 0 / 423.6 MB, free: 7.637 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001965/0.3161, allocations: 92 kB / 423.7 MB, free: 7.547 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.406e-05/0.3161, allocations: 56 kB / 423.7 MB, free: 7.492 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003546/0.3197, allocations: 2.134 MB / 425.9 MB, free: 5.344 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01155/0.3312, allocations: 6.715 MB / 432.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001053/0.3323, allocations: 0.6858 MB / 433.3 MB, free: 13.73 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001078/0.3334, allocations: 0.5907 MB / 433.9 MB, free: 13.13 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.39e-05/0.3334, allocations: 12.5 kB / 433.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.241e-05/0.3334, allocations: 43 kB / 433.9 MB, free: 13.07 MB / 350.1 MB Notification: Performance of pre-optimization done (n=63): time 3.015e-06/0.3335, allocations: 3.938 kB / 433.9 MB, free: 13.06 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004186/0.3376, allocations: 2.391 MB / 436.3 MB, free: 10.63 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.3377, allocations: 60.06 kB / 436.4 MB, free: 10.56 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001057/0.3387, allocations: 0.8088 MB / 437.2 MB, free: 9.742 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.841e-05/0.3388, allocations: 33.7 kB / 437.2 MB, free: 9.703 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006614/0.3395, allocations: 0.944 MB / 438.1 MB, free: 8.746 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001993/0.3397, allocations: 238 kB / 438.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002226/0.3399, allocations: 146.6 kB / 438.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002213/0.3401, allocations: 394.8 kB / 438.9 MB, free: 7.965 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005769/0.3407, allocations: 357.8 kB / 439.3 MB, free: 7.617 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007808/0.3415, allocations: 0.5869 MB / 439.8 MB, free: 6.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.3428, allocations: 0.9872 MB / 440.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.3428, allocations: 0 / 440.8 MB, free: 5.848 MB / 350.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001866/0.3447, allocations: 1.157 MB / 442 MB, free: 4.68 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.3447, allocations: 8 kB / 442 MB, free: 4.672 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.4e-05/0.3447, allocations: 8 kB / 442 MB, free: 4.664 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002937/0.345, allocations: 108.7 kB / 442.1 MB, free: 4.555 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006922/0.3457, allocations: 175.9 kB / 442.3 MB, free: 4.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002435/0.3482, allocations: 2.214 MB / 444.5 MB, free: 2.059 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005434/0.3487, allocations: 35.97 kB / 444.5 MB, free: 2.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.888e-05/0.3488, allocations: 36.06 kB / 444.6 MB, free: 1.988 MB / 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.001055/0.3498, allocations: 0.6457 MB / 445.2 MB, free: 1.332 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001741/0.35, allocations: 91.48 kB / 445.3 MB, free: 1.242 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.3502, allocations: 103.5 kB / 445.4 MB, free: 1.129 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.617e-05/0.3502, allocations: 12 kB / 445.4 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.3502, allocations: 0 / 445.4 MB, free: 1.117 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.734e-06/0.3502, allocations: 3.984 kB / 445.4 MB, free: 1.113 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004648/0.3549, allocations: 2.54 MB / 448 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.94e-06/0.3549, allocations: 0 / 448 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004914/0.3554, allocations: 115.8 kB / 448.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002351/0.3556, allocations: 96.73 kB / 448.2 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.702e-05/0.3557, allocations: 27.86 kB / 448.2 MB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002193/0.3578, allocations: 2.144 MB / 450.3 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.3579, allocations: 3.984 kB / 450.3 MB, free: 12.01 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002158/0.36, allocations: 1.419 MB / 451.8 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00045/0.3605, allocations: 163.4 kB / 451.9 MB, free: 10.39 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.567e-05/0.3606, allocations: 15.94 kB / 451.9 MB, free: 10.38 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004426/0.361, allocations: 39.95 kB / 452 MB, free: 10.34 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001233/0.3611, allocations: 52.41 kB / 452 MB, free: 10.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.05e-05/0.3612, allocations: 20.06 kB / 452 MB, free: 10.27 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0007549/0.3619, allocations: 0.5614 MB / 452.6 MB, free: 9.711 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3619, allocations: 0 / 452.6 MB, free: 9.711 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001144/0.3631, allocations: 296 kB / 452.9 MB, free: 9.422 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.00263/0.3657, allocations: 2.01 MB / 454.9 MB, free: 7.363 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001698/0.3674, allocations: 0.968 MB / 455.9 MB, free: 6.379 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.3674, allocations: 0 / 455.9 MB, free: 6.379 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008739/0.3683, allocations: 0.5376 MB / 456.4 MB, free: 5.832 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0011/0.3694, allocations: 222.8 kB / 456.6 MB, free: 5.617 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01518/0.3845, allocations: 10.18 MB / 466.8 MB, free: 11.08 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001306/0.3859, allocations: 1.144 MB / 467.9 MB, free: 9.891 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005726/0.3864, allocations: 203.1 kB / 468.1 MB, free: 9.688 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008168/0.3872, allocations: 0.6399 MB / 468.8 MB, free: 9.047 MB / 382.1 MB Notification: Performance of SimCode: time 1.012e-06/0.3872, allocations: 0 / 468.8 MB, free: 9.047 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0646/0.4518, allocations: 25.91 MB / 494.7 MB, free: 15.04 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.05/12.5, allocations: 11.88 kB / 494.7 MB, free: 15.02 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: 14.904341416899115]