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.0008228/0.0008228, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.004633/0.004633, allocations: 166 kB / 24.7 MB, free: 8.887 MB / 18.57 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 0.8681/0.8681, allocations: 158.6 MB / 186.5 MB, free: 3.043 MB / 170.7 MB " [Timeout remaining time 179] 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_QuasiStationary_MultiPhase_Examples_TestSensors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 298.4 MB, free: 3.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.588e-06/1.09e-05, allocations: 2.281 kB / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.1258/0.1259, allocations: 14.53 MB / 313 MB, free: 7.344 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.007449/0.1333, allocations: 4.141 MB / 317.1 MB, free: 4.488 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003441/0.1367, allocations: 135.3 kB / 317.2 MB, free: 4.449 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.009069/0.1458, allocations: 7.36 MB / 324.6 MB, free: 240 kB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005254/0.1511, allocations: 1.434 MB / 326 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00303/0.1541, allocations: 1.328 MB / 327.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.009223/0.1633, allocations: 8.913 MB / 336.3 MB, free: 8.395 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01787/0.1812, allocations: 14.35 MB / 350.6 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009627/0.1908, allocations: 7.52 MB / 358.2 MB, free: 2.859 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006282/0.1971, allocations: 4.846 MB / 363 MB, free: 14 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002494/0.1996, allocations: 1.406 MB / 364.4 MB, free: 12.6 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003218/0.2028, allocations: 1.667 MB / 366.1 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002162/0.205, allocations: 2.758 MB / 368.8 MB, free: 8.164 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00565/0.2106, allocations: 3.602 MB / 372.4 MB, free: 4.555 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01541/0.226, allocations: 18.74 MB / 391.2 MB, free: 1.762 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.226, allocations: 1.969 kB / 391.2 MB, free: 1.762 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.605e-06/0.2261, allocations: 0 / 391.2 MB, free: 1.762 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0004242/0.2265, allocations: 4 kB / 391.2 MB, free: 1.758 MB / 346.7 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.02081/0.2473, allocations: 10.81 MB / 402 MB, free: 6.867 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.69e-05/0.2473, allocations: 19.98 kB / 402 MB, free: 6.848 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003707/0.251, allocations: 1.344 MB / 403.4 MB, free: 5.492 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01544/0.2665, allocations: 5.754 MB / 409.1 MB, free: 15.73 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009059/0.2756, allocations: 4.911 MB / 414 MB, free: 10.75 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004894/0.276, allocations: 0.7025 MB / 414.7 MB, free: 10.05 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003104/0.2791, allocations: 0.914 MB / 415.6 MB, free: 9.137 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03143/0.3106, allocations: 13.68 MB / 429.3 MB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002327/0.3108, allocations: 15.95 kB / 429.3 MB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003066/0.3139, allocations: 391.9 kB / 429.7 MB, free: 11 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003842/0.3143, allocations: 460 kB / 430.2 MB, free: 10.55 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02174/0.336, allocations: 12.78 MB / 442.9 MB, free: 13.74 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3099/0.646, allocations: 40.93 MB / 483.9 MB, free: 92.39 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006969/0.6529, allocations: 5.305 MB / 489.2 MB, free: 90.85 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001658/0.6546, allocations: 1.693 MB / 490.9 MB, free: 89.97 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006944/0.6615, allocations: 5.385 MB / 496.3 MB, free: 86.97 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.6616, allocations: 52.16 kB / 496.3 MB, free: 86.92 MB / 410.8 MB Notification: Performance of pre-optimization done (n=188): time 3.707e-06/0.6616, allocations: 0 / 496.3 MB, free: 86.92 MB / 410.8 MB Notification: Performance of matching and sorting (n=188): time 0.004583/0.6661, allocations: 4.237 MB / 0.4888 GB, free: 84.73 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.6662, allocations: 71.91 kB / 0.4889 GB, free: 84.66 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003022/0.6692, allocations: 3.505 MB / 0.4923 GB, free: 82.83 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 9.352e-05/0.6693, allocations: 59.64 kB / 0.4924 GB, free: 82.77 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.001767/0.6711, allocations: 4.329 MB / 0.4966 GB, free: 79.62 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004388/0.6715, allocations: 0.7224 MB / 0.4973 GB, free: 79.01 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008772/0.6724, allocations: 1.048 MB / 0.4983 GB, free: 78.39 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.728e-05/0.6724, allocations: 304.7 kB / 0.4986 GB, free: 78.09 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/0.6741, allocations: 2.042 MB / 0.5006 GB, free: 77.03 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002236/0.6764, allocations: 4.69 MB / 0.5052 GB, free: 72.07 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004226/0.6806, allocations: 7.093 MB / 0.5121 GB, free: 63.68 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.538e-05/0.6806, allocations: 28 kB / 0.5121 GB, free: 63.66 MB / 410.8 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.006421/0.6871, allocations: 7.016 MB / 0.519 GB, free: 56.63 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.294e-05/0.6871, allocations: 44 kB / 0.519 GB, free: 56.59 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.272e-05/0.6872, allocations: 95.98 kB / 0.5191 GB, free: 56.49 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005673/0.6878, allocations: 423.9 kB / 0.5195 GB, free: 56.08 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001762/0.6895, allocations: 1.178 MB / 0.5207 GB, free: 54.9 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0029/0.6924, allocations: 4.215 MB / 0.5248 GB, free: 50.57 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002432/0.6949, allocations: 0.7373 MB / 0.5255 GB, free: 49.82 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000222/0.6951, allocations: 288 kB / 0.5258 GB, free: 49.54 MB / 410.8 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.00461/0.6997, allocations: 3.482 MB / 0.5292 GB, free: 46.05 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004277/0.7001, allocations: 302 kB / 0.5295 GB, free: 45.75 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003142/0.7033, allocations: 3.305 MB / 0.5327 GB, free: 42.43 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002055/0.7053, allocations: 2.53 MB / 0.5352 GB, free: 39.89 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.7053, allocations: 8 kB / 0.5352 GB, free: 39.88 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.183e-05/0.7053, allocations: 13 kB / 0.5352 GB, free: 39.87 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009835/0.7152, allocations: 9.045 MB / 0.544 GB, free: 30.79 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.683e-06/0.7152, allocations: 4 kB / 0.544 GB, free: 30.79 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007068/0.7159, allocations: 355.4 kB / 0.5444 GB, free: 30.44 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004076/0.7163, allocations: 312.9 kB / 0.5447 GB, free: 30.13 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.267e-05/0.7164, allocations: 40 kB / 0.5447 GB, free: 30.09 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00266/0.719, allocations: 4.03 MB / 0.5486 GB, free: 25.95 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.719, allocations: 7.969 kB / 0.5486 GB, free: 25.95 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00381/0.7228, allocations: 4.704 MB / 0.5532 GB, free: 21.21 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008477/0.7237, allocations: 0.5405 MB / 0.5538 GB, free: 20.66 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001837/0.7239, allocations: 39.94 kB / 0.5538 GB, free: 20.62 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006015/0.7245, allocations: 135.7 kB / 0.5539 GB, free: 20.49 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.7246, allocations: 133.8 kB / 0.5541 GB, free: 20.36 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.501e-05/0.7247, allocations: 57.31 kB / 0.5541 GB, free: 20.3 MB / 410.8 MB Notification: Performance of sorting global known variables: time 0.0019/0.7266, allocations: 2.19 MB / 0.5563 GB, free: 18.11 MB / 410.8 MB Notification: Performance of sort global known variables: time 7e-08/0.7266, allocations: 0 / 0.5563 GB, free: 18.11 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.004309/0.7309, allocations: 2.066 MB / 0.5583 GB, free: 16.04 MB / 410.8 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.00464/0.7355, allocations: 5.347 MB / 0.5635 GB, free: 10.66 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.004971/0.7405, allocations: 4.512 MB / 0.5679 GB, free: 6.145 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 6.523e-06/0.7405, allocations: 0 / 0.5679 GB, free: 6.145 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 0.001375/0.7419, allocations: 1.49 MB / 0.5694 GB, free: 4.645 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002027/0.7439, allocations: 0.687 MB / 0.57 GB, free: 3.965 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05227/0.7962, allocations: 42.86 MB / 0.6119 GB, free: 5.879 MB / 458.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00708/0.8033, allocations: 5.336 MB / 0.6171 GB, free: 0.5078 MB / 458.8 MB Notification: Performance of simCode: alias equations: time 0.1478/0.951, allocations: 1.825 MB / 0.6189 GB, free: 150.4 MB / 458.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003867/0.9549, allocations: 2.856 MB / 0.6217 GB, free: 149.6 MB / 458.8 MB Notification: Performance of SimCode: time 2.685e-06/0.9549, allocations: 2.562 kB / 0.6217 GB, free: 149.6 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1102/1.065, allocations: 92.71 MB / 0.7122 GB, free: 76.95 MB / 458.8 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.669/10.73, allocations: 4.062 kB / 0.7122 GB, free: 76.95 MB / 458.8 MB " [Timeout remaining time 649] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins/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: 12.71791039314121]