Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.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.001338/0.001338, allocations: 85.72 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001392/0.001392, allocations: 166.3 kB / 23.96 MB, free: 4.141 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.485/1.485, allocations: 177.1 MB / 204.3 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2099/0.2099, allocations: 34.28 MB / 295 MB, free: 14.58 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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: translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i2|basicTransformer.i1",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer") translateModel(ModelicaTest.Electrical.SingularTransformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|basicTransformer.i2|basicTransformer.i1",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 0 / 442.6 MB, free: 5.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.234e-05/3.37e-05, allocations: 2.281 kB / 442.6 MB, free: 5.434 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.0055/0.005533, allocations: 2.425 MB / 445.1 MB, free: 2.992 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001314/0.006847, allocations: 0.6503 MB / 445.7 MB, free: 2.336 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000159/0.007006, allocations: 7.938 kB / 445.7 MB, free: 2.328 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001777/0.007184, allocations: 35.64 kB / 445.8 MB, free: 2.293 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001627/0.007347, allocations: 75.28 kB / 445.8 MB, free: 2.219 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003863/0.007733, allocations: 87.81 kB / 445.9 MB, free: 2.133 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003628/0.008096, allocations: 302.6 kB / 446.2 MB, free: 1.836 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00018/0.008276, allocations: 60.78 kB / 446.3 MB, free: 1.77 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002944/0.00857, allocations: 179.5 kB / 446.5 MB, free: 1.594 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.008726, allocations: 83.77 kB / 446.5 MB, free: 1.512 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.615e-05/0.008772, allocations: 24 kB / 446.6 MB, free: 1.488 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.342e-05/0.008845, allocations: 24 kB / 446.6 MB, free: 1.465 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.187e-05/0.008907, allocations: 59.75 kB / 446.6 MB, free: 1.406 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001056/0.009013, allocations: 91.81 kB / 446.7 MB, free: 1.316 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003862/0.009399, allocations: 291.1 kB / 447 MB, free: 1.031 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.009403, allocations: 0 / 447 MB, free: 1.031 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.665e-06/0.009406, allocations: 4 kB / 447 MB, free: 1.027 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.165e-05/0.009418, allocations: 0 / 447 MB, free: 1.027 MB / 366.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.0008544/0.01027, allocations: 469.5 kB / 447.5 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.01031, allocations: 8.031 kB / 447.5 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002044/0.01052, allocations: 44.73 kB / 447.5 MB, free: 500 kB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003355/0.01085, allocations: 193.4 kB / 447.7 MB, free: 280 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.01088, allocations: 16.88 kB / 447.7 MB, free: 260 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.478e-05/0.01092, allocations: 16.38 kB / 447.7 MB, free: 244 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.274/0.285, allocations: 269.8 kB / 448 MB, free: 19.54 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.7e-05/0.285, allocations: 4.906 kB / 448 MB, free: 19.54 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.386e-05/0.2851, allocations: 11.88 kB / 448 MB, free: 19.54 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.2851, allocations: 5.25 kB / 448 MB, free: 19.54 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005083/0.2856, allocations: 140.2 kB / 448.2 MB, free: 19.54 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001547/0.2871, allocations: 0.6752 MB / 448.8 MB, free: 19.15 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002309/0.2874, allocations: 90.58 kB / 448.9 MB, free: 19.1 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.2875, allocations: 48.97 kB / 449 MB, free: 19.08 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.2875, allocations: 2.891 kB / 449 MB, free: 19.08 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.528e-05/0.2875, allocations: 36.72 kB / 449 MB, free: 19.04 MB / 366.1 MB Notification: Performance of pre-optimization done (n=10): time 2.455e-06/0.2875, allocations: 0 / 449 MB, free: 19.04 MB / 366.1 MB Notification: Performance of matching and sorting (n=16): time 0.002004/0.2895, allocations: 0.6381 MB / 449.7 MB, free: 18.7 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.2896, allocations: 53.83 kB / 449.7 MB, free: 18.63 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.2898, allocations: 205.9 kB / 449.9 MB, free: 18.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.403e-05/0.2898, allocations: 31.92 kB / 449.9 MB, free: 18.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.2899, allocations: 175.8 kB / 450.1 MB, free: 18.32 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.29, allocations: 62.73 kB / 450.2 MB, free: 18.28 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.537e-05/0.2901, allocations: 43.59 kB / 450.2 MB, free: 18.25 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 8.077e-05/0.2902, allocations: 332 kB / 450.5 MB, free: 17.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/0.2903, allocations: 60.69 kB / 450.6 MB, free: 17.9 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000187/0.2905, allocations: 102.9 kB / 450.7 MB, free: 17.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003502/0.2909, allocations: 177 kB / 450.9 MB, free: 17.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.2909, allocations: 0 / 450.9 MB, free: 17.73 MB / 366.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006184/0.2915, allocations: 280.2 kB / 451.1 MB, free: 17.59 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.685e-05/0.2915, allocations: 5.625 kB / 451.2 MB, free: 17.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.2915, allocations: 7 kB / 451.2 MB, free: 17.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003015/0.2918, allocations: 76.7 kB / 451.2 MB, free: 17.56 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001868/0.292, allocations: 30.36 kB / 451.3 MB, free: 17.56 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001913/0.2939, allocations: 2.745 MB / 454 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001487/0.2941, allocations: 10.19 kB / 454 MB, free: 14.95 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.958e-05/0.2941, allocations: 8.312 kB / 454 MB, free: 14.95 MB / 366.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.0001264/0.2942, allocations: 145.4 kB / 454.2 MB, free: 14.81 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.657e-05/0.2943, allocations: 16.22 kB / 454.2 MB, free: 14.8 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.932e-05/0.2943, allocations: 24.8 kB / 454.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.2943, allocations: 2.75 kB / 454.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.2943, allocations: 1.375 kB / 454.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.192e-06/0.2943, allocations: 4.453 kB / 454.2 MB, free: 14.79 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002382/0.2945, allocations: 195.1 kB / 454.4 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.2946, allocations: 6.703 kB / 454.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.433e-05/0.2946, allocations: 15.84 kB / 454.4 MB, free: 14.62 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002072/0.2949, allocations: 66.33 kB / 454.5 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.56e-05/0.2949, allocations: 9.859 kB / 454.5 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001721/0.2966, allocations: 2.737 MB / 457.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2966, allocations: 1.875 kB / 457.2 MB, free: 11.99 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006342/0.2972, allocations: 393.6 kB / 457.6 MB, free: 11.74 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.031e-05/0.2973, allocations: 17.38 kB / 457.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.911e-05/0.2973, allocations: 7.406 kB / 457.7 MB, free: 11.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.2975, allocations: 18.02 kB / 457.7 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.016e-05/0.2975, allocations: 21.5 kB / 457.7 MB, free: 11.72 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/0.2976, allocations: 4.875 kB / 457.7 MB, free: 11.72 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001329/0.2977, allocations: 157.8 kB / 457.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 6e-08/0.2977, allocations: 0 / 457.9 MB, free: 11.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003901/0.2981, allocations: 64.38 kB / 457.9 MB, free: 11.61 MB / 366.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.0001272/0.2982, allocations: 99.12 kB / 458 MB, free: 11.52 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0006742/0.2989, allocations: 404.7 kB / 458.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2989, allocations: 0 / 458.4 MB, free: 11.23 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004013/0.2993, allocations: 317.2 kB / 458.7 MB, free: 10.98 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.2996, allocations: 28.27 kB / 458.7 MB, free: 10.96 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.3007, allocations: 485.2 kB / 459.2 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.3008, allocations: 138.3 kB / 459.4 MB, free: 10.58 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 8.72e-05/0.3009, allocations: 21.06 kB / 459.4 MB, free: 10.57 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.531e-05/0.301, allocations: 20.75 kB / 459.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.301, allocations: 0 / 459.4 MB, free: 10.56 MB / 366.1 MB Notification: Performance of Templates: time 0.008859/0.3098, allocations: 2.648 MB / 462 MB, free: 10.24 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.sim & ./ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Electrical/SingularTransformer/SingularTransformer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Electrical.SingularTransformer.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: 5.114211276173592]