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.001302/0.001302, allocations: 108.6 kB / 21.22 MB, free: 0.7422 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.001305/0.001305, allocations: 187.7 kB / 24.5 MB, free: 4.152 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.375/1.375, allocations: 225.6 MB / 253.3 MB, free: 13.04 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.001487/0.001487, allocations: 47.92 kB / 371.2 MB, free: 9.848 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2544, allocations: 52.18 MB / 423.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Polyphase.Examples.TestSensors): time 0.007971/0.2623, allocations: 6.072 MB / 429.5 MB, free: 8.496 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003542/0.2659, allocations: 1.639 MB / 431.1 MB, free: 6.852 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006085/0.2665, allocations: 59.69 kB / 431.2 MB, free: 6.793 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006113/0.2671, allocations: 325.4 kB / 431.5 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001091/0.2682, allocations: 385.4 kB / 431.9 MB, free: 6.094 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006242/0.2688, allocations: 355.6 kB / 432.2 MB, free: 5.746 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002032/0.2708, allocations: 2.021 MB / 434.2 MB, free: 3.715 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001945/0.2728, allocations: 1.595 MB / 435.8 MB, free: 2.059 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001183/0.274, allocations: 1.063 MB / 436.9 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001549/0.2755, allocations: 1.218 MB / 438.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003552/0.2759, allocations: 312 kB / 438.4 MB, free: 15.46 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008095/0.2767, allocations: 0.5502 MB / 439 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0006359/0.2773, allocations: 0.7325 MB / 439.7 MB, free: 14.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001226/0.2785, allocations: 1.264 MB / 441 MB, free: 12.91 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003717/0.2823, allocations: 3.819 MB / 444.8 MB, free: 9.082 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.2823, allocations: 3.938 kB / 444.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.2823, allocations: 0 / 444.8 MB, free: 9.078 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.01e-05/0.2823, allocations: 0 / 444.8 MB, free: 9.078 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.004774/0.2871, allocations: 2.442 MB / 447.2 MB, free: 6.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.2872, allocations: 8.031 kB / 447.2 MB, free: 6.582 MB / 350.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.775e-05/0.2872, allocations: 60.7 kB / 447.3 MB, free: 6.52 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003877/0.2876, allocations: 324.9 kB / 447.6 MB, free: 6.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005855/0.2882, allocations: 247.4 kB / 447.9 MB, free: 5.949 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002148/0.2903, allocations: 1.254 MB / 449.1 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001415/0.2905, allocations: 172.6 kB / 449.3 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003036/0.2908, allocations: 220 kB / 449.5 MB, free: 4.273 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004167/0.295, allocations: 2.545 MB / 452 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.976e-05/0.295, allocations: 0 / 452 MB, free: 1.676 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001915/0.2952, allocations: 92 kB / 452.1 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.876e-05/0.2953, allocations: 56 kB / 452.2 MB, free: 1.531 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003853/0.2991, allocations: 2.137 MB / 454.3 MB, free: 15.38 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01189/0.311, allocations: 7.366 MB / 461.7 MB, free: 7.789 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00105/0.3121, allocations: 0.6888 MB / 462.4 MB, free: 7.098 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.3131, allocations: 0.5985 MB / 463 MB, free: 6.496 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.859e-05/0.3131, allocations: 8.5 kB / 463 MB, free: 6.488 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.3132, allocations: 42.94 kB / 463 MB, free: 6.438 MB / 366.1 MB Notification: Performance of pre-optimization done (n=63): time 2.866e-06/0.3132, allocations: 0 / 463 MB, free: 6.438 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004129/0.3173, allocations: 2.387 MB / 465.4 MB, free: 4.016 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.3174, allocations: 56.06 kB / 465.5 MB, free: 3.949 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001024/0.3184, allocations: 0.7933 MB / 466.3 MB, free: 3.148 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.179e-05/0.3184, allocations: 41.7 kB / 466.3 MB, free: 3.102 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006606/0.3191, allocations: 0.9479 MB / 467.3 MB, free: 2.141 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000191/0.3193, allocations: 238 kB / 467.5 MB, free: 1.906 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/0.3195, allocations: 142.6 kB / 467.6 MB, free: 1.762 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.3197, allocations: 390.8 kB / 468 MB, free: 1.371 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005649/0.3203, allocations: 365.8 kB / 468.4 MB, free: 1.012 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007404/0.321, allocations: 0.579 MB / 468.9 MB, free: 344 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001363/0.3224, allocations: 0.9872 MB / 469.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.721e-06/0.3224, allocations: 4 kB / 469.9 MB, free: 15.25 MB / 382.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001904/0.3243, allocations: 1.157 MB / 471.1 MB, free: 14.08 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.3243, allocations: 8 kB / 471.1 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.523e-05/0.3243, allocations: 8 kB / 471.1 MB, free: 14.06 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003022/0.3246, allocations: 112.7 kB / 471.2 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006687/0.3253, allocations: 175.9 kB / 471.4 MB, free: 13.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002495/0.3278, allocations: 2.222 MB / 473.6 MB, free: 11.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005411/0.3283, allocations: 39.97 kB / 473.7 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.461e-05/0.3284, allocations: 35.98 kB / 473.7 MB, free: 11.37 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.001223/0.3296, allocations: 0.6457 MB / 474.3 MB, free: 10.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001988/0.3298, allocations: 95.44 kB / 474.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002195/0.3301, allocations: 95.56 kB / 474.5 MB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.89e-05/0.3301, allocations: 12 kB / 474.5 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/0.3301, allocations: 3.984 kB / 474.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.3301, allocations: 0 / 474.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004518/0.3346, allocations: 2.641 MB / 477.2 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.883e-06/0.3346, allocations: 0 / 477.2 MB, free: 7.793 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004767/0.3351, allocations: 111.8 kB / 477.3 MB, free: 7.684 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002857/0.3354, allocations: 96.78 kB / 477.4 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.683e-05/0.3354, allocations: 15.94 kB / 477.4 MB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002295/0.3377, allocations: 2.172 MB / 479.6 MB, free: 5.281 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.3377, allocations: 4.031 kB / 479.6 MB, free: 5.277 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/0.34, allocations: 1.415 MB / 481 MB, free: 3.828 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003844/0.3404, allocations: 151.5 kB / 481.1 MB, free: 3.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.618e-05/0.3405, allocations: 19.94 kB / 481.2 MB, free: 3.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004084/0.3409, allocations: 44.02 kB / 481.2 MB, free: 3.617 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.341, allocations: 48.41 kB / 481.2 MB, free: 3.57 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.419e-05/0.3411, allocations: 23.98 kB / 481.3 MB, free: 3.547 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008226/0.3419, allocations: 0.5536 MB / 481.8 MB, free: 2.996 MB / 382.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.3419, allocations: 0 / 481.8 MB, free: 2.996 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001184/0.3431, allocations: 300 kB / 482.1 MB, free: 2.703 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.002558/0.3456, allocations: 2.009 MB / 484.1 MB, free: 0.6523 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00168/0.3473, allocations: 0.9673 MB / 485.1 MB, free: 15.67 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.517e-06/0.3473, allocations: 1.688 kB / 485.1 MB, free: 15.67 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008772/0.3482, allocations: 0.5366 MB / 485.6 MB, free: 15.12 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.3493, allocations: 222.8 kB / 485.8 MB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01498/0.3643, allocations: 10.16 MB / 496 MB, free: 4.379 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001572/0.3658, allocations: 1.72 MB / 497.7 MB, free: 2.625 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005936/0.3664, allocations: 199.1 kB / 497.9 MB, free: 2.426 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007964/0.3672, allocations: 0.6438 MB / 498.6 MB, free: 1.785 MB / 398.1 MB Notification: Performance of SimCode: time 1.362e-06/0.3672, allocations: 0 / 498.6 MB, free: 1.785 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05965/0.4269, allocations: 25.11 MB / 0.5114 GB, free: 8.949 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.01, allocations: 13.42 kB / 0.5114 GB, free: 8.941 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.55677523004124]