Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001219/0.001219, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00144/0.00144, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8929/0.8929, allocations: 177 MB / 204.1 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2568/0.2568, allocations: 34.24 MB / 294.8 MB, free: 0.6836 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Electrical.SingularTransformer,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.435e-06/2.435e-06, allocations: 0 / 442.1 MB, free: 1.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.827e-05/3.071e-05, allocations: 5.094 kB / 442.1 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Electrical.SingularTransformer): time 0.1948/0.1948, allocations: 2.434 MB / 444.5 MB, free: 43.1 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008563/0.1957, allocations: 0.6428 MB / 445.2 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.1958, allocations: 5.875 kB / 445.2 MB, free: 42.83 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.1959, allocations: 39.78 kB / 445.2 MB, free: 42.8 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.822e-05/0.196, allocations: 78.83 kB / 445.3 MB, free: 42.75 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002681/0.1963, allocations: 79.19 kB / 445.4 MB, free: 42.74 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001886/0.1964, allocations: 312 kB / 445.7 MB, free: 42.65 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.1966, allocations: 61.48 kB / 445.8 MB, free: 42.64 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.1968, allocations: 169.4 kB / 445.9 MB, free: 42.63 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.19e-05/0.1969, allocations: 89.19 kB / 446 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.1969, allocations: 27 kB / 446 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.715e-05/0.197, allocations: 28.7 kB / 446.1 MB, free: 42.61 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.367e-05/0.197, allocations: 51.22 kB / 446.1 MB, free: 42.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.345e-05/0.197, allocations: 92.62 kB / 446.2 MB, free: 42.58 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002175/0.1973, allocations: 290.4 kB / 446.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1973, allocations: 4 kB / 446.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1973, allocations: 0 / 446.5 MB, free: 42.52 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.422e-06/0.1973, allocations: 0 / 446.5 MB, free: 42.52 MB / 410.7 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.0004962/0.1978, allocations: 479.1 kB / 447 MB, free: 42.14 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.078e-05/0.1978, allocations: 10.53 kB / 447 MB, free: 42.14 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.626e-05/0.1978, allocations: 55.06 kB / 447 MB, free: 42.09 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001157/0.198, allocations: 39.83 kB / 447.1 MB, free: 42.08 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002578/0.1982, allocations: 188.3 kB / 447.2 MB, free: 41.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/0.1982, allocations: 20.22 kB / 447.3 MB, free: 41.9 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.1982, allocations: 20.22 kB / 447.3 MB, free: 41.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002254/0.1985, allocations: 265.8 kB / 447.5 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.1985, allocations: 7.125 kB / 447.5 MB, free: 41.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.1985, allocations: 12.12 kB / 447.6 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1985, allocations: 9.188 kB / 447.6 MB, free: 41.7 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001526/0.1987, allocations: 141.4 kB / 447.7 MB, free: 41.66 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006881/0.1993, allocations: 0.7123 MB / 448.4 MB, free: 41.12 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001238/0.1995, allocations: 93.83 kB / 448.5 MB, free: 41.07 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.108e-05/0.1995, allocations: 43.53 kB / 448.6 MB, free: 41.05 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.475e-05/0.1995, allocations: 5.938 kB / 448.6 MB, free: 41.05 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.1996, allocations: 40.78 kB / 448.6 MB, free: 41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=10): time 2.014e-06/0.1996, allocations: 0 / 448.6 MB, free: 41 MB / 410.7 MB Notification: Performance of matching and sorting (n=16): time 0.001028/0.2006, allocations: 0.6517 MB / 449.2 MB, free: 40.63 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.042e-05/0.2006, allocations: 54.25 kB / 449.3 MB, free: 40.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.2007, allocations: 209.9 kB / 449.5 MB, free: 40.43 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.696e-06/0.2007, allocations: 32.52 kB / 449.5 MB, free: 40.39 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.412e-05/0.2008, allocations: 173.2 kB / 449.7 MB, free: 40.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.2008, allocations: 62.52 kB / 449.8 MB, free: 40.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.146e-05/0.2009, allocations: 39.05 kB / 449.8 MB, free: 40.17 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.203e-05/0.2009, allocations: 328.2 kB / 450.1 MB, free: 39.85 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.475e-05/0.201, allocations: 60.5 kB / 450.2 MB, free: 39.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.771e-05/0.2011, allocations: 114.6 kB / 450.3 MB, free: 39.75 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.2012, allocations: 166.3 kB / 450.5 MB, free: 39.65 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.2012, allocations: 3.938 kB / 450.5 MB, free: 39.64 MB / 410.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0002821/0.2015, allocations: 280 kB / 450.7 MB, free: 39.51 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/0.2015, allocations: 6.938 kB / 450.7 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/0.2015, allocations: 3.234 kB / 450.7 MB, free: 39.51 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001817/0.2017, allocations: 69.38 kB / 450.8 MB, free: 39.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.2018, allocations: 36 kB / 450.9 MB, free: 39.47 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001326/0.2032, allocations: 2.792 MB / 453.6 MB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000121/0.2033, allocations: 6.906 kB / 453.7 MB, free: 36.79 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.307e-05/0.2033, allocations: 12.53 kB / 453.7 MB, free: 36.79 MB / 410.7 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.0001012/0.2034, allocations: 138.7 kB / 453.8 MB, free: 36.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.894e-05/0.2034, allocations: 23.34 kB / 453.8 MB, free: 36.64 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.989e-05/0.2034, allocations: 20.75 kB / 453.8 MB, free: 36.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.2034, allocations: 3.156 kB / 453.8 MB, free: 36.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.2034, allocations: 0 / 453.8 MB, free: 36.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.2035, allocations: 11.59 kB / 453.9 MB, free: 36.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001642/0.2036, allocations: 233.3 kB / 454.1 MB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.2036, allocations: 0 / 454.1 MB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.489e-05/0.2037, allocations: 19.03 kB / 454.1 MB, free: 36.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001642/0.2038, allocations: 71 kB / 454.2 MB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.248e-05/0.2038, allocations: 6.875 kB / 454.2 MB, free: 36.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001364/0.2052, allocations: 2.783 MB / 457 MB, free: 33.72 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.2052, allocations: 4.062 kB / 457 MB, free: 33.72 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005093/0.2057, allocations: 390.2 kB / 457.3 MB, free: 33.48 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/0.2058, allocations: 21.59 kB / 457.4 MB, free: 33.46 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.412e-05/0.2058, allocations: 4.203 kB / 457.4 MB, free: 33.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001462/0.2059, allocations: 18.81 kB / 457.4 MB, free: 33.46 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.586e-05/0.206, allocations: 20.34 kB / 457.4 MB, free: 33.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.43e-05/0.206, allocations: 10.23 kB / 457.4 MB, free: 33.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001129/0.2061, allocations: 150.8 kB / 457.6 MB, free: 33.35 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2061, allocations: 0 / 457.6 MB, free: 33.35 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004464/0.2066, allocations: 62.56 kB / 457.6 MB, free: 33.34 MB / 410.7 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.0006598/0.2072, allocations: 0.9256 MB / 458.6 MB, free: 32.56 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005891/0.2078, allocations: 401.5 kB / 458.9 MB, free: 32.28 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.2078, allocations: 2.875 kB / 458.9 MB, free: 32.28 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003068/0.2081, allocations: 329.2 kB / 459.3 MB, free: 32.02 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.2085, allocations: 33.75 kB / 459.3 MB, free: 32 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00282/0.2113, allocations: 2.45 MB / 461.8 MB, free: 30.23 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001138/0.2114, allocations: 133.9 kB / 461.9 MB, free: 30.16 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001021/0.2115, allocations: 19.52 kB / 461.9 MB, free: 30.15 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001011/0.2116, allocations: 66.92 kB / 462 MB, free: 30.1 MB / 410.7 MB Notification: Performance of SimCode: time 1.483e-06/0.2116, allocations: 0 / 462 MB, free: 30.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03251/0.2441, allocations: 5.925 MB / 467.9 MB, free: 28.79 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.323/7.567, allocations: 14.48 kB / 467.9 MB, free: 28.78 MB / 410.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_trunk_ModelicaTest_Electrical_SingularTransformer.fmu > ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer_res.csv","/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_trunk_ModelicaTest.Electrical.SingularTransformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable Time in file ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer_res.csv. Warning: Get data of variable Time from file ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer_res.csv failed! Error: Could not read variable basicTransformer.i2 in file ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer_res.csv. Warning: Get data of variable basicTransformer.i2 from file ModelicaTest_trunk_ModelicaTest.Electrical.SingularTransformer_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.723619897849858]