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.001329/0.001329, allocations: 110.4 kB / 17.73 MB, free: 5.34 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.001024/0.001024, allocations: 183.1 kB / 18.66 MB, free: 4.414 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.397/1.397, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001239/0.00124, allocations: 55.91 kB / 328 MB, free: 3.805 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08589/0.08714, allocations: 46.61 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.QuasiStationary.MultiPhase.Examples.TestSensors): time 0.2019/0.289, allocations: 16.87 MB / 391.5 MB, free: 3.172 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.009123/0.2982, allocations: 4.233 MB / 395.7 MB, free: 420 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00374/0.3021, allocations: 114.5 kB / 395.9 MB, free: 400 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01847/0.3205, allocations: 7.483 MB / 403.3 MB, free: 11.84 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008576/0.3292, allocations: 1.555 MB / 404.9 MB, free: 10.83 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004992/0.3342, allocations: 1.203 MB / 406.1 MB, free: 10.08 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.01499/0.3492, allocations: 8.575 MB / 414.7 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.03621/0.3854, allocations: 22.58 MB / 437.3 MB, free: 1.211 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008367/0.3939, allocations: 4.968 MB / 442.2 MB, free: 12.23 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00892/0.4028, allocations: 5.525 MB / 447.8 MB, free: 6.688 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.004192/0.407, allocations: 1.402 MB / 449.2 MB, free: 5.285 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006609/0.4137, allocations: 1.664 MB / 450.8 MB, free: 3.621 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005124/0.4188, allocations: 2.708 MB / 453.5 MB, free: 0.9062 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01033/0.4292, allocations: 5.381 MB / 458.9 MB, free: 11.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02236/0.4516, allocations: 18.58 MB / 477.5 MB, free: 8.871 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.093e-06/0.4516, allocations: 0 / 477.5 MB, free: 8.871 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.4517, allocations: 0 / 477.5 MB, free: 8.871 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0005476/0.4522, allocations: 0 / 477.5 MB, free: 8.871 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.03354/0.4858, allocations: 10.98 MB / 488.5 MB, free: 13.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.47e-05/0.4858, allocations: 16.03 kB / 488.5 MB, free: 13.78 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.004425/0.4903, allocations: 1.352 MB / 489.8 MB, free: 12.42 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03086/0.5211, allocations: 5.742 MB / 495.6 MB, free: 6.664 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0118/0.533, allocations: 4.854 MB / 0.4887 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007619/0.5338, allocations: 0.7065 MB / 0.4894 GB, free: 1.039 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003885/0.5377, allocations: 0.9179 MB / 0.4903 GB, free: 124 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03566/0.5734, allocations: 13.6 MB / 0.5036 GB, free: 2.48 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004206/0.5738, allocations: 7.953 kB / 0.5036 GB, free: 2.473 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002727/0.5766, allocations: 392 kB / 0.5039 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004758/0.5771, allocations: 460 kB / 0.5044 GB, free: 1.637 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02771/0.6048, allocations: 12.82 MB / 0.5169 GB, free: 4.789 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4599/1.065, allocations: 46.46 MB / 0.5623 GB, free: 119.4 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01492/1.08, allocations: 17.09 MB / 0.579 GB, free: 105 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002973/1.083, allocations: 1.868 MB / 0.5808 GB, free: 104.9 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01244/1.095, allocations: 5.969 MB / 0.5866 GB, free: 104.2 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.619e-05/1.095, allocations: 54.59 kB / 0.5867 GB, free: 104.2 MB / 478.1 MB Notification: Performance of pre-optimization done (n=188): time 5.21e-06/1.095, allocations: 0 / 0.5867 GB, free: 104.2 MB / 478.1 MB Notification: Performance of matching and sorting (n=188): time 0.008166/1.104, allocations: 4.325 MB / 0.5909 GB, free: 103.8 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.589e-05/1.104, allocations: 70.66 kB / 0.591 GB, free: 103.8 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006175/1.11, allocations: 3.337 MB / 0.5942 GB, free: 102.6 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000243/1.11, allocations: 53.67 kB / 0.5943 GB, free: 102.5 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002424/1.112, allocations: 4.362 MB / 0.5985 GB, free: 99.89 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007245/1.113, allocations: 0.7229 MB / 0.5992 GB, free: 99.36 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002417/1.116, allocations: 1.066 MB / 0.6003 GB, free: 98.83 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 7.028e-05/1.116, allocations: 301.1 kB / 0.6006 GB, free: 98.53 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00297/1.119, allocations: 2.045 MB / 0.6026 GB, free: 97.82 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004083/1.123, allocations: 4.696 MB / 0.6072 GB, free: 93.5 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007048/1.13, allocations: 7.087 MB / 0.6141 GB, free: 87.91 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.722e-05/1.13, allocations: 27.25 kB / 0.6141 GB, free: 87.91 MB / 478.1 MB Notification: Performance of matching and sorting (n=649) (initialization): time 0.01074/1.141, allocations: 7.021 MB / 0.621 GB, free: 84.68 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.815e-05/1.141, allocations: 45 kB / 0.621 GB, free: 84.68 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001303/1.141, allocations: 95.47 kB / 0.6211 GB, free: 84.67 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009183/1.142, allocations: 444.3 kB / 0.6215 GB, free: 84.52 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003615/1.146, allocations: 1.17 MB / 0.6227 GB, free: 84.24 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004548/1.15, allocations: 4.384 MB / 0.6269 GB, free: 80.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004456/1.155, allocations: 0.7376 MB / 0.6277 GB, free: 80.49 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009419/1.156, allocations: 284.9 kB / 0.6279 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.00611/1.162, allocations: 3.484 MB / 0.6313 GB, free: 78.25 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009034/1.163, allocations: 305.8 kB / 0.6316 GB, free: 78.08 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005238/1.168, allocations: 3.305 MB / 0.6349 GB, free: 74.81 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.003347/1.171, allocations: 2.542 MB / 0.6373 GB, free: 72.26 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.564e-05/1.171, allocations: 7.984 kB / 0.6373 GB, free: 72.25 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-05/1.171, allocations: 7.969 kB / 0.6374 GB, free: 72.24 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02066/1.192, allocations: 9.303 MB / 0.6464 GB, free: 62.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.073e-05/1.192, allocations: 0 / 0.6464 GB, free: 62.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001566/1.194, allocations: 361.8 kB / 0.6468 GB, free: 62.55 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007086/1.194, allocations: 316.6 kB / 0.6471 GB, free: 62.24 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002294/1.195, allocations: 43.98 kB / 0.6471 GB, free: 62.2 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004051/1.199, allocations: 4.205 MB / 0.6512 GB, free: 57.85 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/1.199, allocations: 0 / 0.6512 GB, free: 57.85 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005867/1.205, allocations: 4.716 MB / 0.6558 GB, free: 53.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00142/1.206, allocations: 0.604 MB / 0.6564 GB, free: 52.48 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006248/1.207, allocations: 32 kB / 0.6565 GB, free: 52.45 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/1.208, allocations: 131.8 kB / 0.6566 GB, free: 52.32 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002344/1.208, allocations: 129.8 kB / 0.6567 GB, free: 52.19 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001128/1.209, allocations: 60.86 kB / 0.6568 GB, free: 52.13 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003429/1.212, allocations: 2.19 MB / 0.6589 GB, free: 49.94 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/1.212, allocations: 4.062 kB / 0.6589 GB, free: 49.94 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005899/1.218, allocations: 2.062 MB / 0.6609 GB, free: 47.87 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.006219/1.224, allocations: 5.362 MB / 0.6662 GB, free: 42.47 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006655/1.231, allocations: 4.731 MB / 0.6708 GB, free: 37.73 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/1.231, allocations: 0 / 0.6708 GB, free: 37.73 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002215/1.233, allocations: 1.589 MB / 0.6723 GB, free: 36.14 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003822/1.237, allocations: 0.6936 MB / 0.673 GB, free: 35.47 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07194/1.309, allocations: 42.85 MB / 0.7149 GB, free: 5.398 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0108/1.32, allocations: 5.796 MB / 0.7205 GB, free: 15.56 MB / 0.4982 GB Notification: Performance of simCode: alias equations: time 0.005194/1.325, allocations: 1.824 MB / 0.7223 GB, free: 13.73 MB / 0.4982 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005188/1.33, allocations: 2.858 MB / 0.7251 GB, free: 10.88 MB / 0.4982 GB Notification: Performance of SimCode: time 1.182e-06/1.33, allocations: 0 / 0.7251 GB, free: 10.88 MB / 0.4982 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3602/1.69, allocations: 91.52 MB / 0.8145 GB, free: 139.3 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.69/17.38, allocations: 13.86 kB / 0.8145 GB, free: 139.3 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Electrical.QuasiStationary.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_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.csv","/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