Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransfomer,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer",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.001044/0.001044, allocations: 109.8 kB / 17.78 MB, free: 5.266 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.0009886/0.0009886, allocations: 183.1 kB / 18.71 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.267/1.267, allocations: 222.9 MB / 242.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1906/0.1906, allocations: 44.19 MB / 336.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001213/0.001213, allocations: 75.81 kB / 470 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2852/0.2864, allocations: 60.82 MB / 0.5184 GB, free: 3.277 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransfomer): time 0.003185/0.2896, allocations: 2.558 MB / 0.5209 GB, free: 1.469 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.000859/0.2905, allocations: 0.5936 MB / 0.5215 GB, free: 1.039 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001167/0.2906, allocations: 8.281 kB / 0.5215 GB, free: 1.035 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001411/0.2908, allocations: 43.19 kB / 0.5215 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001253/0.2909, allocations: 70.16 kB / 0.5216 GB, free: 0.957 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000214/0.2912, allocations: 65.83 kB / 0.5217 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002641/0.2914, allocations: 290.6 kB / 0.5219 GB, free: 0.7773 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.2916, allocations: 86.14 kB / 0.522 GB, free: 0.7305 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001424/0.2918, allocations: 112.8 kB / 0.5221 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001446/0.2919, allocations: 120.3 kB / 0.5222 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.019e-05/0.292, allocations: 23.44 kB / 0.5223 GB, free: 0.6172 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.255e-05/0.292, allocations: 26.72 kB / 0.5223 GB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.765e-05/0.2921, allocations: 51.91 kB / 0.5223 GB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000108/0.2922, allocations: 126.3 kB / 0.5225 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002985/0.2925, allocations: 281.1 kB / 0.5227 GB, free: 404 kB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.788e-06/0.2925, allocations: 0 / 0.5227 GB, free: 404 kB / 382.1 MB Notification: Performance of FrontEnd: time 1.283e-06/0.2925, allocations: 0 / 0.5227 GB, free: 404 kB / 382.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.2925, allocations: 0 / 0.5227 GB, free: 404 kB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 51 * Number of variables: 51 Notification: Performance of Generate backend data structure: time 0.0007365/0.2932, allocations: 0.538 MB / 0.5232 GB, free: 15.92 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.533e-05/0.2933, allocations: 13.69 kB / 0.5233 GB, free: 15.92 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.514e-05/0.2934, allocations: 59.67 kB / 0.5233 GB, free: 15.86 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.741e-05/0.2935, allocations: 29.69 kB / 0.5233 GB, free: 15.85 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/0.2938, allocations: 240.3 kB / 0.5236 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.184e-05/0.2939, allocations: 12.88 kB / 0.5236 GB, free: 15.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.043e-05/0.2939, allocations: 22.03 kB / 0.5236 GB, free: 15.6 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004145/0.2943, allocations: 202.3 kB / 0.5238 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2944, allocations: 0 / 0.5238 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.2944, allocations: 8.719 kB / 0.5238 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.2944, allocations: 3.188 kB / 0.5238 GB, free: 15.5 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003051/0.2947, allocations: 143 kB / 0.5239 GB, free: 15.45 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00132/0.296, allocations: 0.8104 MB / 0.5247 GB, free: 14.86 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002069/0.2963, allocations: 96.03 kB / 0.5248 GB, free: 14.8 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.2964, allocations: 48.38 kB / 0.5249 GB, free: 14.78 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.785e-05/0.2964, allocations: 5.312 kB / 0.5249 GB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.2964, allocations: 36.78 kB / 0.5249 GB, free: 14.73 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.2964, allocations: 0 / 0.5249 GB, free: 14.73 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.001752/0.2982, allocations: 0.7319 MB / 0.5256 GB, free: 14.27 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.2982, allocations: 52.53 kB / 0.5257 GB, free: 14.2 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001983/0.2985, allocations: 210.8 kB / 0.5259 GB, free: 14.06 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.2985, allocations: 31.08 kB / 0.5259 GB, free: 14.03 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001054/0.2986, allocations: 171.3 kB / 0.5261 GB, free: 13.88 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.479e-05/0.2986, allocations: 59.81 kB / 0.5261 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.026e-05/0.2987, allocations: 40.64 kB / 0.5262 GB, free: 13.8 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.2988, allocations: 332.4 kB / 0.5265 GB, free: 13.48 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000141/0.299, allocations: 59.88 kB / 0.5265 GB, free: 13.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001712/0.2992, allocations: 110.8 kB / 0.5267 GB, free: 13.38 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002915/0.2995, allocations: 176.5 kB / 0.5268 GB, free: 13.27 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.2995, allocations: 0 / 0.5268 GB, free: 13.27 MB / 398.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005295/0.3, allocations: 281.6 kB / 0.5271 GB, free: 13.14 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.3, allocations: 9.656 kB / 0.5271 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3, allocations: 1.984 kB / 0.5271 GB, free: 13.13 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000242/0.3003, allocations: 71.67 kB / 0.5272 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.3005, allocations: 31.81 kB / 0.5272 GB, free: 13.1 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002218/0.3027, allocations: 3.021 MB / 0.5301 GB, free: 10.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.3029, allocations: 10.45 kB / 0.5302 GB, free: 10.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.3029, allocations: 7.125 kB / 0.5302 GB, free: 10.13 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000128/0.303, allocations: 145.2 kB / 0.5303 GB, free: 9.992 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.74e-05/0.3031, allocations: 17.12 kB / 0.5303 GB, free: 9.984 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.896e-05/0.3031, allocations: 28.8 kB / 0.5303 GB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.3031, allocations: 2.812 kB / 0.5304 GB, free: 9.965 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.3031, allocations: 5.75 kB / 0.5304 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.798e-06/0.3031, allocations: 0.7031 kB / 0.5304 GB, free: 9.961 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003056/0.3035, allocations: 286.3 kB / 0.5306 GB, free: 9.723 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3035, allocations: 0 / 0.5306 GB, free: 9.723 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.719e-05/0.3036, allocations: 20.98 kB / 0.5307 GB, free: 9.719 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001878/0.3038, allocations: 70.2 kB / 0.5307 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.568e-05/0.3038, allocations: 9.391 kB / 0.5307 GB, free: 9.668 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002114/0.3059, allocations: 2.999 MB / 0.5337 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3059, allocations: 0 / 0.5337 GB, free: 6.645 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006124/0.3065, allocations: 407.2 kB / 0.534 GB, free: 6.352 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.763e-05/0.3066, allocations: 97.23 kB / 0.5341 GB, free: 6.242 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.062e-05/0.3067, allocations: 5.438 kB / 0.5341 GB, free: 6.238 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001853/0.3068, allocations: 15.05 kB / 0.5342 GB, free: 6.234 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.424e-05/0.3069, allocations: 14.89 kB / 0.5342 GB, free: 6.227 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.3069, allocations: 6.812 kB / 0.5342 GB, free: 6.223 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001276/0.3071, allocations: 154.9 kB / 0.5343 GB, free: 6.109 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3071, allocations: 0 / 0.5343 GB, free: 6.109 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003598/0.3074, allocations: 64.34 kB / 0.5344 GB, free: 6.102 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (basicTransformer.i1) * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,5,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008741/0.3083, allocations: 0.9231 MB / 0.5353 GB, free: 5.289 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006682/0.309, allocations: 408.3 kB / 0.5357 GB, free: 4.973 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.309, allocations: 1.344 kB / 0.5357 GB, free: 4.973 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004163/0.3094, allocations: 332.9 kB / 0.536 GB, free: 4.684 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003272/0.3098, allocations: 27.66 kB / 0.536 GB, free: 4.672 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003017/0.3128, allocations: 2.487 MB / 0.5385 GB, free: 2.703 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.3131, allocations: 0.7541 MB / 0.5392 GB, free: 1.969 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 8.669e-05/0.3132, allocations: 22.59 kB / 0.5392 GB, free: 1.957 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.695e-05/0.3133, allocations: 66.44 kB / 0.5393 GB, free: 1.898 MB / 398.1 MB Notification: Performance of SimCode: time 5.61e-07/0.3133, allocations: 1.406 kB / 0.5393 GB, free: 1.898 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03342/0.3467, allocations: 4.983 MB / 0.5441 GB, free: 15.38 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.27/9.617, allocations: 10.41 kB / 0.5441 GB, free: 15.38 MB / 414.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00044 ModelicaTest_4_0_0_ModelicaTest_Electrical_SingularTransfomer.fmu > ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Electrical/SingularTransfomer/SingularTransfomer.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Electrical.SingularTransfomer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches