Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 70.03 kB / 21.24 MB, free: 0.5547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 153.6 kB / 24.49 MB, free: 3.852 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 173.4 MB / 201.1 MB, free: 12.69 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") translateModel(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|C1.v|C3.v|C5.v|L1.i|L2.i",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 45.98 kB / 319.4 MB, free: 3.254 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1088, allocations: 52.16 MB / 371.6 MB, free: 7.344 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CauerLowPassAnalog): time 0.004057/0.1129, allocations: 2.626 MB / 374.2 MB, free: 4.707 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.114, allocations: 0.5843 MB / 374.8 MB, free: 4.117 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001324/0.1141, allocations: 4 kB / 374.8 MB, free: 4.113 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.1143, allocations: 47.5 kB / 374.8 MB, free: 4.066 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000191/0.1145, allocations: 99.17 kB / 374.9 MB, free: 3.969 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.1147, allocations: 71.91 kB / 375 MB, free: 3.898 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004001/0.1151, allocations: 350.9 kB / 375.3 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002475/0.1153, allocations: 103.8 kB / 375.4 MB, free: 3.445 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001507/0.1155, allocations: 131.6 kB / 375.6 MB, free: 3.316 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.1157, allocations: 127.3 kB / 375.7 MB, free: 3.191 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.888e-05/0.1157, allocations: 36 kB / 375.7 MB, free: 3.156 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.313e-05/0.1158, allocations: 32 kB / 375.8 MB, free: 3.125 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.371e-05/0.1159, allocations: 71.75 kB / 375.8 MB, free: 3.055 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.116, allocations: 139.3 kB / 376 MB, free: 2.918 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004091/0.1164, allocations: 358.5 kB / 376.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.1164, allocations: 0 / 376.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.1164, allocations: 0 / 376.3 MB, free: 2.566 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.1165, allocations: 0 / 376.3 MB, free: 2.566 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.0009239/0.1174, allocations: 0.5287 MB / 376.8 MB, free: 2.008 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.1174, allocations: 8.922 kB / 376.9 MB, free: 2 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.435e-05/0.1175, allocations: 32.75 kB / 376.9 MB, free: 1.969 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/0.1179, allocations: 214 kB / 377.1 MB, free: 1.734 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.72e-05/0.1179, allocations: 21.03 kB / 377.1 MB, free: 1.711 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.148e-05/0.1179, allocations: 28.38 kB / 377.1 MB, free: 1.684 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005216/0.1185, allocations: 305.8 kB / 377.4 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.17e-05/0.1185, allocations: 0 / 377.4 MB, free: 1.367 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.536e-05/0.1185, allocations: 8 kB / 377.5 MB, free: 1.359 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.1185, allocations: 8 kB / 377.5 MB, free: 1.352 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004086/0.1189, allocations: 186.5 kB / 377.6 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001554/0.1205, allocations: 0.86 MB / 378.5 MB, free: 260 kB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003731/0.1208, allocations: 162.7 kB / 378.7 MB, free: 88 kB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002462/0.1211, allocations: 128.9 kB / 378.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.056e-05/0.1211, allocations: 0 / 378.8 MB, free: 15.95 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.1211, allocations: 38.5 kB / 378.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=21): time 1.223e-06/0.1211, allocations: 0 / 378.8 MB, free: 15.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=25): time 0.001517/0.1227, allocations: 0.7033 MB / 379.5 MB, free: 15.17 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.371e-05/0.1227, allocations: 59.34 kB / 379.6 MB, free: 15.1 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.123, allocations: 192.3 kB / 379.8 MB, free: 14.9 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.123, allocations: 25.7 kB / 379.8 MB, free: 14.87 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.1231, allocations: 176.6 kB / 380 MB, free: 14.69 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.076e-05/0.1232, allocations: 91.17 kB / 380.1 MB, free: 14.6 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.418e-05/0.1233, allocations: 53.98 kB / 380.1 MB, free: 14.54 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.1235, allocations: 334.8 kB / 380.4 MB, free: 14.21 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001448/0.1236, allocations: 72.53 kB / 380.5 MB, free: 14.14 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001826/0.1238, allocations: 106.8 kB / 380.6 MB, free: 14.03 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003003/0.1241, allocations: 169.6 kB / 380.8 MB, free: 13.86 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/0.1241, allocations: 4 kB / 380.8 MB, free: 13.85 MB / 350.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005678/0.1247, allocations: 326.6 kB / 381.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.1247, allocations: 10.69 kB / 381.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.1247, allocations: 0 / 381.1 MB, free: 13.52 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002741/0.1249, allocations: 88.75 kB / 381.2 MB, free: 13.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.1251, allocations: 43.97 kB / 381.2 MB, free: 13.38 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002181/0.1273, allocations: 1.947 MB / 383.2 MB, free: 11.33 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001173/0.1274, allocations: 8.141 kB / 383.2 MB, free: 11.32 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.635e-05/0.1274, allocations: 11.94 kB / 383.2 MB, free: 11.31 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (22): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(2,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001527/0.1276, allocations: 145.7 kB / 383.4 MB, free: 11.16 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.276e-05/0.1277, allocations: 23.86 kB / 383.4 MB, free: 11.14 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.398e-05/0.1277, allocations: 26.03 kB / 383.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1277, allocations: 4 kB / 383.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.1277, allocations: 4 kB / 383.4 MB, free: 11.11 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.1277, allocations: 3.984 kB / 383.4 MB, free: 11.1 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001014/0.1287, allocations: 0.6197 MB / 384 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.1287, allocations: 0 / 384 MB, free: 10.44 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000188/0.1289, allocations: 47.91 kB / 384.1 MB, free: 10.39 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001972/0.1291, allocations: 80.81 kB / 384.2 MB, free: 10.31 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.1291, allocations: 7.938 kB / 384.2 MB, free: 10.3 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001841/0.131, allocations: 1.845 MB / 386 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.131, allocations: 4.031 kB / 386 MB, free: 8.355 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006875/0.1317, allocations: 464.2 kB / 386.5 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.077e-05/0.1317, allocations: 15.89 kB / 386.5 MB, free: 7.867 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.029e-05/0.1317, allocations: 8.062 kB / 386.5 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001644/0.1319, allocations: 12.06 kB / 386.5 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.089e-05/0.1319, allocations: 27.89 kB / 386.5 MB, free: 7.82 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/0.132, allocations: 4 kB / 386.5 MB, free: 7.816 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001353/0.1321, allocations: 145.7 kB / 386.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1321, allocations: 0 / 386.7 MB, free: 7.676 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004202/0.1325, allocations: 76 kB / 386.8 MB, free: 7.602 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (C1.v,C3.v,C5.v,L1.i,L2.i) * 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 (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001318/0.1327, allocations: 99.53 kB / 386.8 MB, free: 7.496 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0006838/0.1333, allocations: 358.3 kB / 387.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1333, allocations: 0 / 387.2 MB, free: 7.133 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004313/0.1338, allocations: 262.4 kB / 387.5 MB, free: 6.863 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003437/0.1341, allocations: 32.05 kB / 387.5 MB, free: 6.832 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.1354, allocations: 0.7702 MB / 388.3 MB, free: 6.035 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.1356, allocations: 162.8 kB / 388.4 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.7e-05/0.1356, allocations: 17.95 kB / 388.4 MB, free: 5.84 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/0.1357, allocations: 16.5 kB / 388.4 MB, free: 5.824 MB / 350.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1357, allocations: 4 kB / 388.5 MB, free: 5.82 MB / 350.1 MB Notification: Performance of Templates: time 0.007489/0.1432, allocations: 3.282 MB / 391.7 MB, free: 2.586 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CauerLowPassAnalog/CauerLowPassAnalog.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CauerLowPassAnalog.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: 4.371118562994525]