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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 101.5 kB / 17.72 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002168/0.002169, allocations: 192 kB / 18.66 MB, free: 4.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.449/1.449, allocations: 205.1 MB / 224.5 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001304, allocations: 56.2 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09786/0.09917, allocations: 46.62 MB / 374.6 MB, free: 5.086 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.2505/0.3497, allocations: 16.86 MB / 391.5 MB, free: 3.184 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01501/0.3648, allocations: 4.235 MB / 395.7 MB, free: 416 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006198/0.3711, allocations: 117.2 kB / 395.9 MB, free: 396 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.02424/0.3954, allocations: 7.466 MB / 403.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01065/0.4061, allocations: 1.534 MB / 404.9 MB, free: 10.85 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005763/0.4118, allocations: 1.218 MB / 406.1 MB, free: 10.09 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.02035/0.4322, allocations: 8.571 MB / 414.6 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.06164/0.4939, allocations: 22.57 MB / 437.2 MB, free: 1.27 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01206/0.506, allocations: 4.964 MB / 442.2 MB, free: 12.29 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01502/0.5211, allocations: 5.536 MB / 447.7 MB, free: 6.738 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.006138/0.5273, allocations: 1.406 MB / 449.1 MB, free: 5.332 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008763/0.5361, allocations: 1.66 MB / 450.8 MB, free: 3.672 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.007018/0.5432, allocations: 2.708 MB / 453.5 MB, free: 0.957 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01639/0.5596, allocations: 5.378 MB / 458.9 MB, free: 11.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.03277/0.5925, allocations: 18.54 MB / 477.4 MB, free: 8.969 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.233e-05/0.5925, allocations: 0 / 477.4 MB, free: 8.969 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.5926, allocations: 0 / 477.4 MB, free: 8.969 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005909/0.5932, allocations: 0 / 477.4 MB, free: 8.969 MB / 398.1 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.05555/0.6487, allocations: 10.79 MB / 488.2 MB, free: 14.1 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.233e-05/0.6488, allocations: 8.031 kB / 488.2 MB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007443/0.6563, allocations: 1.348 MB / 489.6 MB, free: 12.73 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04591/0.7022, allocations: 5.702 MB / 495.3 MB, free: 7.012 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01427/0.7165, allocations: 4.853 MB / 0.4884 GB, free: 2.094 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000976/0.7176, allocations: 0.7025 MB / 0.4891 GB, free: 1.391 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004248/0.7218, allocations: 0.914 MB / 0.49 GB, free: 488 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04336/0.7652, allocations: 13.6 MB / 0.5032 GB, free: 2.836 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.00047/0.7657, allocations: 7.906 kB / 0.5032 GB, free: 2.828 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003923/0.7697, allocations: 396 kB / 0.5036 GB, free: 2.441 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0007171/0.7704, allocations: 456 kB / 0.5041 GB, free: 1.992 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03452/0.8049, allocations: 12.82 MB / 0.5166 GB, free: 5.148 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5281/1.333, allocations: 46.35 MB / 0.5618 GB, free: 119.8 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01471/1.348, allocations: 17.09 MB / 0.5785 GB, free: 105.4 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003204/1.351, allocations: 1.866 MB / 0.5803 GB, free: 105.3 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0123/1.363, allocations: 5.964 MB / 0.5862 GB, free: 104.5 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.413e-05/1.363, allocations: 54.88 kB / 0.5862 GB, free: 104.5 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 4.458e-06/1.363, allocations: 1.281 kB / 0.5862 GB, free: 104.5 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.008281/1.372, allocations: 4.306 MB / 0.5904 GB, free: 104.2 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/1.372, allocations: 71.97 kB / 0.5905 GB, free: 104.1 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005003/1.377, allocations: 3.328 MB / 0.5937 GB, free: 102.9 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002413/1.377, allocations: 63.58 kB / 0.5938 GB, free: 102.9 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002189/1.379, allocations: 4.182 MB / 0.5979 GB, free: 99.73 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006284/1.38, allocations: 0.6867 MB / 0.5986 GB, free: 99.22 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001398/1.381, allocations: 1.068 MB / 0.5996 GB, free: 98.7 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.257e-05/1.381, allocations: 305.1 kB / 0.5999 GB, free: 98.39 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00249/1.384, allocations: 2.041 MB / 0.6019 GB, free: 97.69 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00335/1.387, allocations: 4.691 MB / 0.6065 GB, free: 93.37 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00592/1.393, allocations: 7.093 MB / 0.6134 GB, free: 87.77 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.066e-05/1.393, allocations: 26.47 kB / 0.6134 GB, free: 87.77 MB / 478.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.00972/1.403, allocations: 7.007 MB / 0.6203 GB, free: 84.65 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.199e-05/1.403, allocations: 46.22 kB / 0.6203 GB, free: 84.65 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001292/1.403, allocations: 91.94 kB / 0.6204 GB, free: 84.65 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008121/1.404, allocations: 439 kB / 0.6208 GB, free: 84.51 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003386/1.408, allocations: 1.172 MB / 0.622 GB, free: 84.22 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004674/1.412, allocations: 4.381 MB / 0.6262 GB, free: 80.96 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004431/1.417, allocations: 0.718 MB / 0.6269 GB, free: 80.5 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006167/1.417, allocations: 286.4 kB / 0.6272 GB, free: 80.45 MB / 478.1 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.006029/1.423, allocations: 3.489 MB / 0.6306 GB, free: 78.25 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007058/1.424, allocations: 287.2 kB / 0.6309 GB, free: 78.1 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004219/1.428, allocations: 3.309 MB / 0.6341 GB, free: 74.96 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002723/1.431, allocations: 2.542 MB / 0.6366 GB, free: 72.41 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.897e-06/1.431, allocations: 4 kB / 0.6366 GB, free: 72.4 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.646e-05/1.431, allocations: 7.969 kB / 0.6366 GB, free: 72.39 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01383/1.445, allocations: 9.303 MB / 0.6457 GB, free: 63.05 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/1.445, allocations: 4 kB / 0.6457 GB, free: 63.05 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001291/1.446, allocations: 359.4 kB / 0.6461 GB, free: 62.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006125/1.447, allocations: 310.9 kB / 0.6464 GB, free: 62.39 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/1.447, allocations: 43.98 kB / 0.6464 GB, free: 62.35 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003761/1.451, allocations: 4.194 MB / 0.6505 GB, free: 58.02 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/1.451, allocations: 0 / 0.6505 GB, free: 58.02 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005161/1.456, allocations: 4.71 MB / 0.6551 GB, free: 53.28 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00137/1.457, allocations: 0.583 MB / 0.6557 GB, free: 52.67 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002984/1.458, allocations: 37.02 kB / 0.6557 GB, free: 52.64 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001102/1.459, allocations: 131.8 kB / 0.6558 GB, free: 52.51 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002333/1.459, allocations: 133.7 kB / 0.6559 GB, free: 52.38 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/1.459, allocations: 60.05 kB / 0.656 GB, free: 52.32 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00258/1.462, allocations: 2.194 MB / 0.6581 GB, free: 50.12 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.61e-07/1.462, allocations: 0 / 0.6581 GB, free: 50.12 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005696/1.467, allocations: 2.03 MB / 0.6601 GB, free: 48.09 MB / 478.1 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.005901/1.473, allocations: 5.347 MB / 0.6653 GB, free: 42.71 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006812/1.48, allocations: 4.725 MB / 0.67 GB, free: 37.98 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.159e-05/1.48, allocations: 3.938 kB / 0.67 GB, free: 37.98 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002164/1.482, allocations: 1.595 MB / 0.6715 GB, free: 36.38 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003374/1.486, allocations: 0.6813 MB / 0.6722 GB, free: 35.72 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05886/1.545, allocations: 42.6 MB / 0.7138 GB, free: 5.926 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007971/1.553, allocations: 5.792 MB / 0.7194 GB, free: 92 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004482/1.557, allocations: 1.824 MB / 0.7212 GB, free: 14.26 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004605/1.562, allocations: 2.854 MB / 0.724 GB, free: 11.41 MB / 0.4982 GB Notification: Performance of SimCode: time 9.72e-07/1.562, allocations: 7.938 kB / 0.724 GB, free: 11.4 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3854/1.947, allocations: 91.15 MB / 0.813 GB, free: 140.8 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.78/17.72, allocations: 9.156 kB / 0.813 GB, free: 140.8 MB / 0.5138 GB (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 --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) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/QuasiStationary/MultiPhase/Examples/TestSensors/TestSensors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches