Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.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.0007924/0.0007924, allocations: 76.55 kB / 19.93 MB, free: 4.629 MB / 18.57 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.0008372/0.0008372, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8589/0.8589, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6675/0.6675, allocations: 154.6 MB / 414.5 MB, free: 0.8008 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") translateModel(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 0.6193 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.465e-05/2.652e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.04 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck): time 0.001207/0.001234, allocations: 0.5429 MB / 0.6199 GB, free: 12.5 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0004857/0.00172, allocations: 311 kB / 0.6202 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.614e-05/0.001746, allocations: 3.938 kB / 0.6202 GB, free: 12.19 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.705e-05/0.001763, allocations: 3.938 kB / 0.6202 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 2.753e-05/0.00179, allocations: 0 / 0.6202 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.00219, allocations: 111.6 kB / 0.6203 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 5.159e-05/0.002242, allocations: 7.938 kB / 0.6203 GB, free: 12.07 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.814e-05/0.00229, allocations: 7.984 kB / 0.6203 GB, free: 12.06 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 3.181e-05/0.002322, allocations: 7.984 kB / 0.6203 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 4.851e-05/0.00237, allocations: 4 kB / 0.6203 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.367e-05/0.002384, allocations: 0 / 0.6203 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002149/0.002599, allocations: 179.7 kB / 0.6205 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.387e-05/0.002613, allocations: 8 kB / 0.6205 GB, free: 11.86 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.718e-05/0.00263, allocations: 15.92 kB / 0.6205 GB, free: 11.85 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001645/0.002795, allocations: 103.8 kB / 0.6206 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.364e-06/0.002797, allocations: 0 / 0.6206 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.392e-06/0.002798, allocations: 0 / 0.6206 GB, free: 11.75 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.967e-06/0.002802, allocations: 0 / 0.6206 GB, free: 11.75 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.000286/0.003088, allocations: 264.5 kB / 0.6208 GB, free: 11.46 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.003125, allocations: 8.031 kB / 0.6208 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.427e-05/0.003159, allocations: 4.938 kB / 0.6209 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.766e-05/0.003237, allocations: 105.8 kB / 0.621 GB, free: 11.32 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.185e-05/0.003249, allocations: 4.359 kB / 0.621 GB, free: 11.31 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.00327, allocations: 8.375 kB / 0.621 GB, free: 11.3 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.779e-05/0.003367, allocations: 59.97 kB / 0.621 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.003377, allocations: 192 / 0.621 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.128e-06/0.003386, allocations: 4.312 kB / 0.621 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.00339, allocations: 384 / 0.621 GB, free: 11.23 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.861e-05/0.003409, allocations: 7.938 kB / 0.621 GB, free: 11.22 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001127/0.003521, allocations: 105.3 kB / 0.6211 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.32e-05/0.003565, allocations: 18.61 kB / 0.6212 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.003583, allocations: 12.91 kB / 0.6212 GB, free: 11.05 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000672/0.004255, allocations: 183.8 kB / 0.6213 GB, free: 10.87 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.00428, allocations: 38.56 kB / 0.6214 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/0.004281, allocations: 0 / 0.6214 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3): time 0.0004297/0.004711, allocations: 177.2 kB / 0.6215 GB, free: 10.61 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.236e-05/0.004743, allocations: 55.34 kB / 0.6216 GB, free: 10.55 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.462e-05/0.004798, allocations: 105.8 kB / 0.6217 GB, free: 10.43 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 8.656e-06/0.004806, allocations: 25.7 kB / 0.6217 GB, free: 10.4 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.62e-05/0.004832, allocations: 80.14 kB / 0.6218 GB, free: 10.32 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.44e-05/0.004857, allocations: 15.89 kB / 0.6218 GB, free: 10.3 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.725e-05/0.004884, allocations: 13.94 kB / 0.6218 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.368e-05/0.004958, allocations: 318.8 kB / 0.6221 GB, free: 9.965 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.627e-05/0.004974, allocations: 7.984 kB / 0.6221 GB, free: 9.957 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.214e-05/0.004996, allocations: 21.66 kB / 0.6222 GB, free: 9.93 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.724e-05/0.005033, allocations: 25.72 kB / 0.6222 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.005034, allocations: 0 / 0.6222 GB, free: 9.898 MB / 0.5886 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.346e-05/0.005098, allocations: 57.58 kB / 0.6222 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.00511, allocations: 4 kB / 0.6222 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.005115, allocations: 0 / 0.6222 GB, free: 9.832 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.005129, allocations: 8.062 kB / 0.6223 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.565e-05/0.005174, allocations: 4 kB / 0.6223 GB, free: 9.82 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.005181, allocations: 3.938 kB / 0.6223 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.076e-05/0.005192, allocations: 3.984 kB / 0.6223 GB, free: 9.812 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.079e-06/0.005197, allocations: 4 kB / 0.6223 GB, free: 9.809 MB / 0.5886 GB 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.31e-05/0.00526, allocations: 114.8 kB / 0.6224 GB, free: 9.688 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.983e-06/0.005267, allocations: 4 kB / 0.6224 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.435e-05/0.005361, allocations: 49.38 kB / 0.6224 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.005363, allocations: 0 / 0.6224 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.005367, allocations: 0 / 0.6224 GB, free: 9.625 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.005372, allocations: 7.938 kB / 0.6224 GB, free: 9.617 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.25e-05/0.005435, allocations: 109.3 kB / 0.6225 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.005436, allocations: 0 / 0.6225 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.732e-05/0.005473, allocations: 4 kB / 0.6225 GB, free: 9.477 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.005475, allocations: 7.938 kB / 0.6226 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.3e-06/0.005481, allocations: 0 / 0.6226 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.005482, allocations: 0 / 0.6226 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.005483, allocations: 0 / 0.6226 GB, free: 9.469 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.005583, allocations: 84.98 kB / 0.6226 GB, free: 9.367 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 6.602e-06/0.00559, allocations: 4 kB / 0.6226 GB, free: 9.363 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.999e-06/0.0056, allocations: 4.094 kB / 0.6226 GB, free: 9.359 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.408e-05/0.005624, allocations: 4.422 kB / 0.6226 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.176e-05/0.005636, allocations: 0 / 0.6226 GB, free: 9.355 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.005641, allocations: 4 kB / 0.6226 GB, free: 9.352 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.557e-05/0.005666, allocations: 87.19 kB / 0.6227 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.005666, allocations: 0 / 0.6227 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001771/0.005843, allocations: 31.94 kB / 0.6228 GB, free: 9.234 MB / 0.5886 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001594/0.006003, allocations: 131.2 kB / 0.6229 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.72e-05/0.00608, allocations: 19.92 kB / 0.6229 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.006082, allocations: 8.125 kB / 0.6229 GB, free: 9.07 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.949e-06/0.006092, allocations: 4 kB / 0.6229 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001118/0.006203, allocations: 0 / 0.6229 GB, free: 9.066 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004802/0.006684, allocations: 138.6 kB / 0.623 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.409e-05/0.006718, allocations: 59.34 kB / 0.6231 GB, free: 8.82 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.973e-05/0.006737, allocations: 16.44 kB / 0.6231 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of SimCode: time 6.91e-07/0.006738, allocations: 0 / 0.6231 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of Templates: time 0.001831/0.008569, allocations: 0.8996 MB / 0.624 GB, free: 7.91 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; mkfifo IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe >> ../files/IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.sim & ./IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Actuators.BaseClasses.Examples.EqualPercentageDerivativeCheck.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.906890854239464] Failed to read output from testmodel.py, exit status != 0: 0.014398806728422642 0.022808309000000002 0.018083597 Calling exit ...